Git Product home page Git Product logo

laundry-app's Introduction

Laundry App

An app for booking washing machines. In the home page, available time slots are shown for the following seven days. Currently, some disabled time slots are defined in src/components/ReservationForm.js to show how already booked slots would look like in the Reservation Form. You can edit these slots when needed.

In My Bookings page you can see the booked time slots for a specified user. Currently, a demo user ID is hardcoded directly in src/pages/MyBookings.js for testing purposes. Using that ID, we search for the booked slots from the json (src/data/bookings.json), where the bookings are saved (currently manually). Booking a washing machine on the home page, takes user to the My Bookings page and displays the details of the booked slot.

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

Known deficiencies or bugs

  • You can click 'Reserve' without selecting any time slot.
  • Clicking a disabled time slot removes the focus from the previously selected slot, but it remains selected. This means that if the user clicks 'Reserve', the previously selected slot will be reserved.

laundry-app's People

Contributors

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