Skip to content

This project is a web-based application built using Node.js and EJS. It enables universities to provide internal hostel booking services to their students seamlessly. The application is designed to be user-friendly and efficient, ensuring a smooth booking process for students.

Notifications You must be signed in to change notification settings

EvansMungai/KUHB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

University Hostel Booking System

Description

This project is a web based application where universities can provide internal hostel booking services to their students.

Tech stack

Backend - NodeJS, ExpressJS and MySQl Database Frontend- Bootstrap and CSS modules

Installation

  1. Prerequisites

    Make sure you have the following installed on your system:

  2. Clone the repository

    You can clone the repository using the command:

    git clone https://github.com/EvansMungai/UHB
    
  3. Restore dependencies

    You can restore the dependencies used by this project using the command:

    npm install
    
  4. Import the database

    You can find the starter database in the Server directory. Run MySQl and create an empty database. Exit MySQL and run the following command:

    mysql -u username -p databaseName < dumpfile.sql
    

    Replace username with database username, databaseName with the name of the empty database and dumpfile.sql with the file found in the server directory.

  5. Create a .env file and add the following in the lines in the file

    Host = localhost
    User = databaseUsername
    Password = databasePassword
    Database = databaseName
    

    Replace "databaseUsername" with username used to access the database, "databasePassword" with password used to access the database, "databaseName" with the database you want to select.

  6. Start the Project in Development Server

    You can start the project in development mode using the command:

    nodemon index.js
    
  7. Check out the system in the web browser UHB

About

This project is a web-based application built using Node.js and EJS. It enables universities to provide internal hostel booking services to their students seamlessly. The application is designed to be user-friendly and efficient, ensuring a smooth booking process for students.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published