Use npm workspace for monorepo. Frontend uses nextjs and backend use create-react-app
npm install
cd admin
npm install
cd site
npm install
Admin
cd admin
npm start
# visit http://localhost:3000
Frontend
cd site
npm run dev
# visit http://localhost:3001