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
MONGO
url from .env file in./api/.env
-
Then, import the dummy data to mongoDB from
./api/dummy-datas
and use the credentials as necessary.
To get started, follow these steps in 3/4 different terminals:
cd admin
npm install
npm run dev
cd client
npm install
npm run dev
cd api
npm install
npm start
cd api/socket
npm start