Skip to content

FACK1/ReservationSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reservation System

A web app that enables the YDRC staff to coordinate the reservation process in their organization between all of them.

Brief Summary of key requirements / features

  • User must be authorized to using the website.
  • Services should be able to contain all facilities in YDRC.
  • Each facility should be able to present all events, and can booked a new event on it.
  • Events should be able to see it all details.
  • Events should be able to approve by admin.

Features

Main functionality

  • User Login by shared username and password.
  • Viewing all facilities in YDRC.
  • Select Facility.
    • Enable to see the events and its details.
    • Book a new event by the calendar, and fill in details.
  • Enable the admin to approve the pending events.

Key technologies

Architecture

  • The website has two parts

    • Client (React.js): view all facilities on YDRC, each facility view all it's events, and can choose an event to see its details, and can use the react big calendar book an event, and fill its details.
    • Server (Express.js, Sequelize.js): build the server and the database. Then, the routes that will add data (Login, book form) to the database or get data (services, events, event details, event status) from the database. Plus, ensure the user is authorized to use the website.
  • Code structure

    • Client folder contains the components folder that contains the react components for the app.
    • Server folder contains the server, and router that contains all app endpoints.
    • Database folder contains all the models and relations of the app database.
    • The website begins with server/app.js.

User Guide

Development Setup

  • Make sure you have Node 8 and NPM>5 installed
     node --version; npm --version
  • Clone the project, and cd to its directory.
      cd ReservationSystem
  • Run npm i to install npm deps.
     npm i
  • Run npm run dev to build and run the project.
     npm run dev

Demo https://reservation-system-ydrc.herokuapp.com/

Login

(Shared accounts for tests username / password)

  • To try this as admin manager / 482106
  • To try this as normal user staff / 482106

How to use Reservation System website

  • Login with username and password.
  • Select one of YDRC facilities.
  • Using Calendar can book new events and fill it details.
  • Can see the facility and it's events details.
  • As an admin user can approve the pending events.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published