- Fork this repo to your account then clone it to your folder - OR - just download as a zip, and it comes without any
.gitfolder, so it doesnt messes up your existing folder. - run
npm install- if you dont want some server-template git repo related stuff to appear in your
package.jsonfile, just delete the originalpackage.jsonand then runsh init.shfrom terminal, it will createpackage.jsonand install nessesary npm packeges. If you want to usenodemonwith thenpm startcommand, you have to add the start scritp topackeges.json("start": "nodemon server.js") - check if nodemon have been installed as well, if not, install it manually
- if you dont want some server-template git repo related stuff to appear in your
- Set your database credentials in the
.envfile and add.envto the.gitignore- now your database should work just fine - now you can check your backend server with
npm startcommand, or normally withnodmeon - Feel free to check out the snippets folder for additional code snippets.
- Bear in mind, that this is a mere spine of a server, you have to give it functionality.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|