This is a sample project with three directories: admin, client, and api. Each directory contains its own codebase.
- admin: Contains code for the admin panel.
- client: Contains code for the client application.
- api: Contains code for the API server.
-
Replace the existing
MONGOurl from .env file in./api/.env -
Then, import the dummy data to mongoDB from
./api/dummy-datasand use the credentials as necessary.
To get started, follow these steps in 3/4 different terminals:
cd admin
npm install
npm run devcd client
npm install
npm run devcd api
npm install
npm startcd api/socket
npm start