Coder Social home page Coder Social logo

katlim89 / booking-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.18 MB

Booking system built using React, Vite, ExpressJS, PostgreSQL, JWT, React Bootstrap, Bootstrap Icons & MaterialUI.

Home Page: https://booking-app-omega-sage.vercel.app

JavaScript 98.76% HTML 1.24%
api bootstrap-icons expressjs jwt jwt-authentication jwt-token material-ui neon neondb postgresql react react-bootstrap react-router-dom unsplash vite

booking-app's Introduction

Booking App built using React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:


Project: Booking System project in React with an API with these requirements:

  1. Able to list all bookings
  2. Able to create a booking
  3. Able to update a specific booking
  4. Able to delete a specific booking

Tools used:

  • Backend: ExpressJS & PostgreSQL to create the API ; used Neon for this project
  • Frontend: React.js & Javascript; styling with React Bootstrap, Bootstrap Icons & Material UI
  • Authentication: JSON Web Token

Features:

  • Authentication Page: Google login is currently disabled. To access Admin page, use "[email protected]" as username & "admin123" as password.
  • Admin page: there is no checkbox to select all since the Admin is only supposed to select incomplete entries.
  • User main page: Sidebar buttons are non-functional, except for booking & sign-out button. Header has 2 Accordions for Terms & Conditions and Terms of Use. All bookings will show up under the header section.
  • Booking Modal: clicking on the "Book A Room" button will trigger the Booking Modal.
  • Edit booking Modal: clicking on the "Edit booking" button in the booking section will trigger another Modal. The date and time inputs are disabled.
  • Creating and deleting a booking will cause the page to automatically reload itself without manually refreshing the page. A Spinner will appear while the page is loading.

IMPORTANT NOTICE: if you're making multiple bookings, please manually refresh the page to reload the Booking Modal. It still has minor reload/refresh issues, so this is one solution.

booking-app's People

Contributors

katlim89 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.