Server side of a Managing Libraries Web App, developed with Node.js, Mongoose and MongoDB
Steps:
Iniciate the database, use the command line: mongod
Iniciate the Server Site:
The default method
// Windows
SET DEBUG=nameOfTheProject:* & npm start
// macOS or Linux
DEBUG=nameOfTheProject:* npm start
If you previously set up nodemon, you can instead use:
// Windows
SET DEBUG=nameOfTheProject:* & npm run devstart
// macOS or Linux
DEBUG=nameOfTheProject:* npm run devstart
How I put it on git:
git init
git remote add origin https://github.com/Siralde/LibraryWebAppServer.git
git fetch
git reset origin/master
git checkout -t origin/master
ls
git pull
git pull origin master
git push --set-upstream origin master
git status
git add .
git status
sudo rm -rf node_modules/
git add .
git commit -m "Initial Commit"
git push