Skip to content

AdilIqbal95/booking_buddies_frontend

 
 

Repository files navigation

Booking Buddies

Booking Buddies, because your sofa has seen enough of you.

Description

This project was built using the Booking Buddies API, providing a dynamic frontend from an event planner's point of view. Here the admin can create, update and delete bookings.

Features

Here are a few of the features included within our application.

MVP:

  • Display each booking from the API on the website's main page (dashboard):
    • Implement CRUD functionality into booking component
  • Update a booking by:
    • Adding/removing users
    • Changing the date/time
    • Changing the venue
    • Changing the hobby
  • Create a nav bar containing each webpage
  • Add styling

Extensions:

  • Provide a webpage for creating, updating and deleting Hobbies, Venues and Users
  • Manage a Hobby, Venue or User by:
    • Changing the User's/Hobby's/Venue's name
    • Changing the Venue's location
    • Changing the Venue's capacity
  • Assign a user a Hobby
  • Assign multiple users when creating a booking
  • Add functionality to searchbar's for each component
  • Remove a user from a booking
  • Create a sort function that lists upcoming bookings by date/time

WebFlow

dashboard create-booking update-booking

Bugs

  • Couldn't patch multiple attributes of a booking simultaneously.
  • Since we changed the format of the input to a date picker, couldn't pre-populate the date input on the update booking form.
  • When submitting an updated booking, the newly updated booking wasn't rendering on the dashboard without refreshing.
  • Couldn't load data into update booking component with loader function.

Troubles

  • Variable renaming was the solution for a lot of issues.
  • Drawing component diagram, we added too many pages and blurred the lines between MVP and extensions.

Installation

  1. Clone the repository:

    git clone [email protected]:ornerykiwi/booking_buddies_frontend.git
    cd week_11_frontend_project
  2. Install packages and run front end server:

    Install packages and run server in the terminal using the following command:

        npm i
        npm run dev
  3. Build and Run the Application in IntelliJ

The API will then be available at http://localhost:5173

Technologies and Tools

  • JavaScript/React
  • HTML/CSS

Dependencies:

  • react
  • react-dom
  • react-router-dom

Contributors:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 72.9%
  • JavaScript 21.0%
  • CSS 5.7%
  • HTML 0.4%