README.txt 515 Bytes
How to run the server:

1 - This is a node.js server so node is required. https://nodejs.org/en/download/
2 - Start Windows Powershell on windows or terminal on Mac.
3 - Navigate to this folder (.....\ITE1893_Risikovurdering_Gruppe4\restApi)
4 - Use command: "npm run api"
5 - The server should start running on localhost and listen to port 3000 (and should auto-restart if changes are made in the code)
6 - Endpoints are documented in the code (routes.js)
7 - Use Postman to test endpoints where a body is expected