Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 784 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 784 Bytes

Hostel Management System

A system to manage the infrastructure and students of a hostel

Development

Clone the repository

Make sure to have the latest version of node and npm installed

git clone https://github.com/bhavyaagg/Hostel-Management-DBMS-Project
cd Hostel-Management-DBMS-Project
npm install

Setting up the database

Make sure to have postgres installed(postgresql 96 preferable) and the server is started

psql
create database hosteldb;
create user hosteluser with encrypted password 'hostelpass';
grant all privileges on database hosteldb to hosteluser;

To login as the hosteluser

psql -d  hosteldb -U hosteluser

Run the app

npm start

Server will start running on http://localhost:8888