This is a school assignment @Helsinki Business College for Node - modules, Express and EJS. Assignment was made as end assignment of first course of Node.
- NODE.js
- Express (WEB framework for Node )
- EJS (Embedded Java Script templating)
- HTML and CSS
- NODE, Express and EJS game more familiar with this task
- Learned to sort data with EJS and add footer component
- How to use "return to last page" command (used in RETURN buttons)
$ npm install
and
$ node index
will start the app in browser localhost:3000
Express was installed by:
$ npm install express --save
EJS was installed by:
$ npm install ejs
There is small database (JSON-file) of cars. Cars are searched by product number.
You can select to get one car, list all cars to table (sorted with the product number), remove a car, change data (product number or rate stars can be changed) or/and add a new car.
There is also page which informs status or errors according to staus/error code.
Home/Menu page photo by Steve Johnson on Unsplash