This monorepo contains frontend and admin-frontend packages.
- root_dir : ./packages
- admin-frontend
- frontend
You need to set up the environment before running the frontends
- Create a
.envfile in the root turborepo workspace - Add
NEXT_PUBLIC_API_URLand set its value to the backend url. If no changes were made to the Spring MVC backend, just set its value tohttp://localhost:8080 - Add
NEXT_PUBLIC_ADMIN_APIKEYand set its value to theadmin.apikeyproperty found inapplication.propertiesof the Spring MVC backend
- suggested node version 16.17.0
- run
npm install - To run both admin and app run
npm run dev - To run admin only, run
npm run dev:admin - To run app only, run
npm run dev:app