- Clone the repo
@ Backend/venue-booking-system-backend
- Install NPM packages
npm install
- DB Setup
- install and setup postgres DB if not
- create a db named
venue_system
- Steps:
- open postgres
psql
- then
create database `venue_system`;
- open postgres
- Steps:
- create a user with name
pulkit
and passwordpulkit
- Steps:
- make user
create user pulkit with password 'pulkit'
- then, grant all privileges to that user
grant all on database venue_system to pulkit;
- make user
- Steps:
- exit
- Migrate the DB
-
npm run migrate