Code Monkey home page Code Monkey logo

renew-hotel's Introduction

Dew Breeze Suites | Luxury Boutique Hotel

Project Overview

This project is based off the Turing School of Software & Design Overlook Hotel final assignment for Mod 2. It's a hotel management tool for hotel customers and staff to manage room bookings and calculate customer bills.

See it in action!

  • Upon opening the application, the user is greeted with a long in page. After they log in they can see their dashboard including their name, total spent, and past, current, and upcoming reservations.

login-page

  • The user can also select from the calendar to filter through available bookings by date, as well as by room type.

filter-bookings

  • As an extra extension I also made the site mobile responsive.

mobile-friendly

  • We're proud to share the the application is also fully tab accessible with a 100% Lighthouse Accessibility Score.

lighthouse-score

Installation and Setup:

To navigate the website live, a local server download is required.

  1. Clone the necessary server and API here
  2. In the command line, cd into the directory and run npm install or npm i.
  3. After the install is completely, run npm start.

Then clone down this repository

  1. In your command line, cd into your local directory and clone down this repository -
    [email protected]:janitastic/renew-hotel.git
  2. Install the necessary package dependencies -
    npm install
  3. Run the command npm start
  4. With both the server running and this package, and visit http://localhost:8080/ in your browser.

Technologies Used

  • JavaScript
  • HTML, CSS
  • Node.js
  • Mocha and Chai
  • Webpack

Future Goals

  • Manager access
  • Ability to delete a booking
  • Log out functionality

Rubric

Contributors

renew-hotel's People

Contributors

dependabot[bot] avatar hannahhch avatar janitastic avatar khalidwilliams avatar lschnell8 avatar robbiejaeger avatar

Stargazers

 avatar

Watchers

 avatar  avatar

renew-hotel's Issues

Accessibility

  • Accessibility audits should be at 100% for the dashboard.
  • A user should be able to interact with all functionality of your application by tabbing through it, no use of the trackpad
  • ARIA attributes should be utilized for any UI elements that are not understood by the screen reader

Customer Interaction

As a customer:

  • I should be able to select a date for which I’d like to book a room for myself
  • Upon selecting a date, I should be shown a list of room details for only rooms that are available on that date
  • I should be able to filter the list of available rooms by their roomType property
  • I should be able to select a room for booking
  • In the event that no rooms are available for the date/roomType selected, display a message fiercely apologizing to the user and asking them to adjust their room search

Refer to the “Add new booking” section from the endpoints table above!

‼️ Note! Before moving on to Login -

If you haven’t already, focus on accessibility at this point.

  • Create a branch and push it up to GH so instructors can run Lighthouse and check your dashboard for it’s accessibility audit.

Dashboard - Customer Classes & Interaction

As a customer:
I should see a dashboard page that shows me:

  • #13
  • The total amount I have spent on rooms

Customer Interaction

As a customer:

  • I should be able to select a date for which I’d like to book a room for myself
  • #14
  • I should be able to filter the list of available rooms by their roomType property
  • I should be able to select a room for booking
  • #15
  • Refer to the “Add new booking” section from the endpoints table above!

Login

When first arriving at the site, a user should be able to log in with a username and password.

As a customer:

  • I should be able to login
    • I will see a login page when I first visit the site
    • I can log in with the following credentials: customer50/overlook2021
  • Upon successfully loggin in, I should see my dashboard.

Refer to the “Get single user” section from the endpoints table above!

Manager Interaction

Your app should now support two different types of users. In addition to having a customer, you will now add a manager.

As a manager -

  • I should be able to login
  • I will see a login page when I first visit the site
  • I can log in with the following credentials manager/overlook2021

As a manager, upon logging in:

  • I should see a dashboard page that shows me:
  • Total Rooms Available for today’s date
  • Total revenue for today’s date
  • Percentage of rooms occupied for today’s date

As a manager:

  • I should be able to search for any user by name and:
  • View their name, a list of all of their bookings, and the total amount they’ve spent
  • Add a room booking for that user
  • Delete any upcoming room bookings for that user (they cannot delete a booking from the past)

Refer to the endpoints table above for deleting a single booking

Initial Setup

  • Webpack Starter Kit repo setup
  • Local Server install and setup

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.