Skip to content

SneakBug8/carrental

Repository files navigation

Project landing page: http://k-2021-2.std-1482.ist.mospolytech.ru/

How to run

Connection to PostgreSQL database is configured in src/DataBase.ts. Don't forget to import schema and test data from dbexport.pgsql made with pg_dump:

psql -U username dbname < dbexport.pgsql

Dev

  1. Run npm run-script watch in one console.
  2. cd client && npm start in separate console.
  3. cd admin && npm start in third console.

Production

  1. cd client && npm run-script build
  2. Make sure not to move/rename client folder from it default location
  3. npm start in main folder for Backend & Frontend on one ExpressJS server
  4. cd admin && npm start in separate console for admin panel

Only admin can edit Users and Locations

About

Car rental website in Typescript, Node.JS, React, PostgreSQL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors