Quick Start
1.Requirements
- Node.js 20.x (recommended).
- Yarn (recommended).
- Do not delete the any file in (
package-lock.json
/yarn.lock
) the folder. - When copying folders remember to also copy hidden files like
.env
. This is important because.env
files often contain environment variables that are crucial for the application to run correctly.
2.Installation
a.Start project:
Watch video Version Script | Next.js |Vite.js | ||
---|---|---|---|
Install | yarn install or npm i | ||
Start | yarn dev or npm run dev | ||
Build | yarn build or npm run build |
- For the case of using pnpm instead of npm or yarn (migration guide)
- For the case if you create new folder and copy files (guide)
b.Start server:
By default we provide demo API from our server. To avoid interruptions during development, you should run it on your local server start local server.
Watch videoNote:
For React Create App (CRA) version:
- CRA has not been updated or maintained for a long time (https://github.com/reactjs/react.dev/pull/5487).
- Migrating to
vite.js
ornext.js
is (recommended). - We will not guarantee for dependent versions related to CRA. In case you need the CRA version.
Tracking:
- https://github.com/reactjs/react.dev/pull/5487
- https://github.com/facebook/create-react-app/issues/13080
- https://github.com/facebook/create-react-app/issues/13283
This project is just the user interface not including the backend and database.