Giter Site home page Giter Site logo

hatch-booking-system's Introduction

Hatch Booking System

About

Cabpool is a cutting-edge room booking application designed to revolutionize McMaster University's existing system. With a sleek interface built using React.js, the platform enables students to effortlessly book rooms at a staggering six times the speed of the previous system. The application utilizes an AWS backend for efficient account management and a robust booking database. Leveraging the power of Next.js and Tailwind CSS, "Hatch Booking System" offers an intuitive and seamless experience for students, streamlining the room booking process like never before.

Requirements include:

  • Allowing students to book a room in the Gerald Hatch Centre 6x faster than the original system
  • Responsive design to be able to be used on both desktop and mobile devices

Hatch Booking System Mockup

Getting Started

Pre-requisites

The following are required to be installed on your system:

Note: Ensure that you select "Add to PATH" when installing Git, Node.js, and Yarn, if prompted

Recommended VScode Extensions

Install the following extensions for a better development experience:

Installation

  1. Clone the repository

  2. Install dependencies

yarn install
  1. Run the development server
yarn dev

Open http://localhost:3000 with your browser to see the result.

Branch and Commit Message Convention

Branch

Ensure that all your branches are named according to the following convention:

  • feature/<feature-name> for new features
  • bugfix/<bug-name> for bug fixes
  • improvement/<improvement-name> for improvements
  • chore/<chore-name> for chores

Ensure that the name of your branch is descriptive of the feature/bug/improvement/chore that you are working on, and is written in kebab-case.

Examples:

  • feature/add-login-page
  • bugfix/fix-login-page
  • improvement/update-login-page
  • chore/update-readme

Commit Message

This project uses Conventional Commits for commit messages. Ensure that all your commit messages are written according to the following convention:

<type>: <description>

Where type is one of the following:

  • feat for new features
  • fix for bug fixes

Examples:

  • feat: add confirm password field
  • fix: submit button not working

Development

Folder Structure

The following is the folder structure of the project:

.
├── .github
├── .husky
├── .vscode
├── node_modules
├── public
├── src
│   ├── __tests__
│   ├── components
│   ├── constants
│   ├── lib
│   ├── pages
│   ├── styles

The most important folders are:

  • node_modules contains all the dependencies of the project. This folder is automatically generated when you run yarn install, and should not be manually edited.
  • public contains all the static assets of the project. This includes images, fonts, etc.
  • src contains all the source code of the project
    • components contains all the components of the project. These include any component that is used more than once in the project.
    • constants contains all the constants of the project
    • lib contains all the utility functions of the project
    • pages contains all the pages of the project. This is where you will be developing most of the website. Each file in this folder represents a sub-directory page in the website. For example, bookings.tsx would link to https://www.macengsociety.ca/bookings
    • styles contains all the styles of the project

hatch-booking-system's People

Contributors

paiswillie avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.