Car rental and pooling web app with authentication, membership, car management, bookings, billing, maintenance, pooling, and ratings. Ensured data consistency and trigger-based updates. Admin access for maintenance and billing. Advanced billing calculations with member discounts. Efficient and user-friendly car rental system.
-
Install PostgreSQL 12.x (https://www.postgresql.org/)
-
Inside ./data/database.js, set the host, password, database, and port according to your runtime environment.
-
Please make sure that database have relational model as given in
er-diagram.png
. Inside./sql-queries
you will find allpsql
queries to create database with required relational model. -
Install Node.js based on your operating system. Visit the website (https://nodejs.org) and download the LTS version 19.9.x of Node.js along with version 9.6.x of npm.
-
Install all required dependencies
npm install
-
start server using following in dev mode
npm start
-
To close server
./close.sh