-
Create a
.envFile:- In the main folder, create a file named
.env. - Add the following content to the
.envfile:DBURL="_Your MongoDB Collection URL_" PORT=4000 JWT_SEC="Open Source Weekend" MAILER="d******[email protected]" EMAILPASS="_App password from the upper user mail as mailer email from Google_" OTPSEC="THIS IS SECRET"
- In the main folder, create a file named
-
Create Folders:
- In the main folder, create a folder named
uploads. - Inside the
uploadsfolder, initialize and create a few other folders, includingblog.
- In the main folder, create a folder named
-
Install Dependencies:
- Open your terminal.
- Navigate to the main project folder.
- Run the following command to install dependencies:
npm i
OSW-backend
Directory actions
More options
Directory actions
More options
OSW-backend
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||