SneakBug8 / carrental

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:HTML 46.5%Language:JavaScript 40.4%Language:CSS 8.3%Language:TypeScript 3.7%Language:PLpgSQL 1.0%Language:SCSS 0.0%Language:Handlebars 0.0%Language:Dockerfile 0.0%Language:Shell 0.0%