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
.env
file in the root turborepo workspace - Add
NEXT_PUBLIC_API_URL
and 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_APIKEY
and set its value to theadmin.apikey
property found inapplication.properties
of 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