This is my attempt at a responsive website designed using Bootstrap during university for buying used cars
I could not not find the CDN for the Bootstrap Bare template so thats why this project is 70% CSS
The template for this project was sourced from Bootstrap Bare under an MIT License
Clone the repo and execute npm i
in the terminal in the main directory
Then run npm run start
in the terminal to launch the node server. The website should launch at http://127.0.0.1:8080
npm run pretest
runs the linter (eslint) on the project
npm run test
runs unit tests (jest) on the project
The server consists of app.js
and server.js
app.js
implements all the endpoints for the APIserver.js
starts the server on a specific project
The port used for this application is 8080
The server should by default start (on Windows) at http://127.0.0.1:8080/
The main HTML for the website is located in client/index.html
The main JS for the website is located in client/assets/js/index.js
The JSON database is located in db.json
The two entities are cars and bids
The npm script commands to be used are:
npm install
npm start
npm pretest
npm test
IDs for all entities are generated using the UUIDv4 module
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change