Project landing page: http://k-2021-2.std-1482.ist.mospolytech.ru/
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
- Run
npm run-script watch
in one console. cd client && npm start
in separate console.cd admin && npm start
in third console.
cd client && npm run-script build
- Make sure not to move/rename client folder from it default location
npm start
in main folder for Backend & Frontend on one ExpressJS servercd admin && npm start
in separate console for admin panel
Only admin can edit Users and Locations