Before you start make sure you have pnpm installed.
Before you run the project you have to define these Environment Variables:
- BACKEND_SERVER_URL,
- BACKEND_IMAGE_DOMAIN,
- REACT_EDITOR
Note: NextJS has a built-in support for this, and to override values specified in .env.local, you may create .env file in project's root directory
Start dev server:
pnpm devStart production build:
pnpm buildStart production server:
pnpm startThe app will start at port 3000
Run jest and react tests:
pnpm testRun end-to-end tests:
pnpm test:e2e