Closed danbergeron3 closed 4 months ago
Dependencies: To create a live update server I use nodemon.
It can be installed using npm install --save-dev nodemon
. This saves it to the dev dependencies.
Then under script
in package.json
add "devStart": "nodemon server.js"
then you can use npm run devStart
to run nodemon.
Also run npm install body-parser
to gain access to the json body parser for CRUD operations in the routing
run 'npm install dotenv' to gain access to .env
files, you will need this to hide sensitive information. Double check that the .gitignore
has .env
listed. To use in code use require("dotenv").config();
Also ensure you have a node project .gitignore
Ensure you run npm install express
and npm intstall mongoose
. Express is a library for routing and mongoose is the library for the MongoDB data base.
All the basic routes are established and are configured to run on a local environment.
General Description
Build a basic routing Skelton to build the backend of off
Proposed Solution
Get it so communications work
Checklist