Created by James harvey for Programming (black) individual coursework
First, you must clone the files onto your local machine by running the command bellow into Git Bash:
git clone https://github.com/Jamwilltim/Online-Library-Single-Page-App.gitThen run npm install in your terminal, this will install all of the necessary dependancies to run the project, which in this case is just express.js.
Once all files and dependancies are installed you can launch the server with:
npm startIf you wish to use nodemon then you will have to install it separately using:
npm install nodemon --save-devYou will also have to make sure that you have the nodemon.json file on your local device as this ensures the server doesn't restart when POST requests are made
The command to run the server with nodemon is
npm run serverDuplicate files have been made in the /test folder, these files are altered during the running of the test cases
The documentation can be found here