Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.07 KB

File metadata and controls

54 lines (43 loc) · 1.07 KB

Getting Started

Installation

  1. Clone the repo

BACKEND

@ Backend/venue-booking-system-backend

  1. Install NPM packages
    npm install
  2. DB Setup
  • install and setup postgres DB if not
  • create a db named venue_system
    • Steps:
      • open postgres
          psql
      • then
        create database `venue_system`;
  • create a user with name pulkit and password pulkit
    • Steps:
      • make user
        create user pulkit with password 'pulkit'
      • then, grant all privileges to that user
        grant all on database venue_system to pulkit;
  • exit
  1. Migrate the DB
  • npm run migrate