An app where you can put cars for sale.
Project use NodeJS, Express, RESTful routes for server-side.
On front-end EJS, SASS and Bootstrap for styling.
PostgreSQL and pg (with promises) for DBMS.
Git for version control.
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
- username:
labber
- password:
labber
- database:
midterm
-
Install dependencies:
npm i
-
Fix to binaries for sass:
npm rebuild node-sass
-
Reset database:
npm run db:reset
-
Run the server:
npm run local
-
Visit
http://localhost:8080/
- Node 10.x or above
- NPM 5.x or above
- PG 6.x
- Bootstrap 5.x,
- Cookie-parser 1.x,
- EJS 2.x,
- Express 4.x,
- Morgan 1.x,
- PG 8.x,
- Sass 1.x