Create a .env file in the root directory of the project and add the following content:
PORT = 3000
MONGO_DB_URI = mongodb://localhost:27017/
COOKIE_SECRET = secret
SESSION_SECRET = secret
Run the following command to install the dependencies:
npm install
Create a directory named uploads
in the root directory of the project.
Run the following command to start the server:
npm run dev