-
Clone the repository
-
Install the dependencies by running
npm i
-
Create a
.env
file that should contain the following keys:DATABASE_URI
- The MongoDB URI StringACCESS_TOKEN_SECRET
- The secret for the access tokenREFRESH_TOKEN_SECRET
- The secret for the refresh token
-
Run
npm run dev
to start the server
- Setup two different dashboards for different roles
- Setup a dashboard for the admin user
- Setup a dashboard for the regular user