-
Notifications
You must be signed in to change notification settings - Fork 298
Description
💭 Description
As I worked through the React lesson and build the idea tracker, I found a few issues in the directions and code snippets.
-
The first issue I found was on the "Create app" page, the
npm createcommand doesn't scaffold a Vite + React project correctly. Also code snippet might need two versions of it depending on the npm versions based on what I read in the Vite Docs. -
The second issue I found was under the "Initialize Appwrite SDK" heading on the "Set up Appwrite" page, where it states the wrong client, which needs to be corrected. As seen in the screenshot below.

-
The third issue I found was on the same page in the Appwrite related code that you can add to your
src/lib/appwrite.jsfile. I believe now you are asked to import "Account" and "Databases" from "Appwrite" node.js module. -
The fourth issue I found was in the
user.jsfile on the "Add authentication" page, I believe the "create account" endpoint requires a uniqueuserIdstring to go along with the "email" and "password". -
The fifth issue I found was on the "add database" page under the "Create collection" heading doesn't explain how adding user's permissions to the collection allows authorized user to view,create, or delete ideas.

6. The sixth issue I found was that the lesson doesn't point out that you need update src/App.jsx by importing and adding the IdeasProvider component between the main element and UserProvider component.
7. The seventh issue I found on the "Create ideas page" page, the code snippet used to overwrite the src/pages/Home.jsx code gives you an error saying the following:

steps to Reproduce:
- Follow the React tutorial and add the code snippets along the way
npm run dev -- --open --port 3000to run the app- After registering, try to add an idea
- The eighth issue I found on the "next steps" page, the clone link "this GitHub repository" isn't linked to a github repository of the completed version of the project.

Additional Information:
Documentation URL : https://appwrite.io/docs/tutorials/react/step-1
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
