Coder Social home page Coder Social logo

siddharth9300 / bookit Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 7.0 3.57 MB

Hall Booking Management System using MERN Stack

Home Page: https://bookit-client-lezg.onrender.com

License: GNU General Public License v3.0

HTML 0.63% CSS 0.12% JavaScript 99.25%
booking-system mern-project mern-stack hall-booking mongodb-atlas nodejs reactjs hacktoberfest hactoberfest-accepted hactoberfest2023

bookit's Introduction

Book It

Book It is an online platform for booking halls for various events. This app allows users to view a list of available halls, book a hall for a specific date and time, and submit their booking requests for approval. Admin users can manage hall listings, approve or reject booking requests, and view booking details.

Screenshot

Features

  • Search and filter available halls by location, capacity
  • Book a hall for a specific date and time
  • Submit booking requests to admin for approval
  • Admin dashboard for managing hall listings and booking requests
  • real-time availability updates using a calendar feature

Technologies Used

  • React: A popular JavaScript library for building user interfaces
  • Node.js: A server-side JavaScript runtime environment
  • Express: A web application framework for Node.js
  • MongoDB: A NoSQL database for storing data
  • Mongoose: An Object Data Modeling (ODM) library for MongoDB
  • Axios: A promise-based HTTP client for making API requests
  • react-router-dom: A routing library for handling navigation in a React app
  • Tailwind CSS: A utility-first CSS framework for styling the app

Usage

Users

  • Search for available halls by entering the location and date of the event.
  • View the list of available halls and their details, including hall name, location, capacity.
  • Book a hall by selecting the desired hall and filling out the booking form.
  • View the status of their booking request and receive notifications when the request is approved or rejected.
  • View real-time availability updates using a calendar feature.

Admin

  • Approve or reject booking requests from users by logging in to the admin dashboard.
  • View the list of pending booking requests and their details, including the user's name, email, and booking details.
  • Create new halls by entering the hall name, location, capacity.

Environment Variables

Client

Variable Name Example Description
REACT_APP_ADMIN_SIGN_UP true To Enable Admin Sign Up true for On and false for Off
REACT_APP_HOD_FEATURE false To Enable HOD Feature true for On and false for Off
REACT_APP_SERVER_URL https://bookit********.com Enter Server Url for API request
REACT_APP_MASTER_ADMIN_EMAIL master**[email protected] Email of the Admin who has access to edit and delete all halls

Server

Variable Name Example Description
DATABASE mongodb+srv://******:*******@********.*******.mongodb.net/*****?retryWrites=true&w=majority Enter MongoDB connection Url
PORT 9002 Server PORT
SECRET_KEY <Secret Key> MongoDB Key
ADMIN_KEY <Admin Key> Any word that is required whtn signup as Admin
ADMIN_EMAIL ad**[email protected] Email of Admin
SENDER_EMAIL ad**[email protected] Email from which verificaion and forgot link will be sent
SENDER_PASSWORD ****** Password of Email from which verificaion and forgot link will be sent
CLIENT_URL https://bookit********.com Enter Client Url for API request
REACT_APP_HOD_FEATURE false To Enable HOD Feature true for On and false for
REACT_APP_MASTER_ADMIN_EMAIL master**[email protected] Email of the Admin who has access to edit and delete all halls

Contributing

Contributions are welcome! If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request with a detailed description of your changes.

Authors

License

GNU GENERAL PUBLIC LICENSE

bookit's People

Contributors

sarthak2131 avatar siddharth9300 avatar taeh98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bookit's Issues

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.