-
Create a folder on your local machine where you want to host the project (your app name).
-
Inside that folder create a folder named: backend.
-
In the backend folder run:
npm init -ynpm installto make sure all dependencies are installed. -
Inside package.json after "test" in new row write:
"start": "node server.js", -
Create document .env where you can store your MongoDB username and password of your database cluster.
-
To run the server
node server.js
Feel free to customize this template according to your specific app details and preferences.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
