This is a 4th year Computer Science project. Part of a JavaScript module with this project focusing on creating a full stack application using the MERN stack. It is a vehicle checklist progressive web app with a focus on HGV (Heavy Goods Vehicle).
For deployment Heroku and MongoDB Atlas was used.
Firstly you will need to add in the correct environmental variables in the /backend
directory. This is for connecting to MongoDB and setting JSON Web Token verification key.
You will also need to install the node modules in both the project directory and the /backend
directory. You can do this by running the following command.
In the project directory, you can run:
This will run the web app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
In the backend directory, you can run:
This will run the backend api in the development mode.
Open http://localhost:4000 to view it in the browser.
The api will reload if you make edits on save.