Coder Social home page Coder Social logo

overlook-hotel's Introduction

Overlook Hotel

The Overlook Hotel recreates a basic hotel website. A user can login, view their current and previous bookings, and can also add new bookings based on which rooms are available for a particular date.

The project spec can be found here.

Deployed Link here

Table of Contents

Install

  1. Clone down the api server git clone https://github.com/turingschool-examples/overlook-api
    1. This API holds the data our project will fetch in order to populate the browser with info
  2. CD into your local clone cd overlook-api
  3. Install project dependencies npm install
  4. Run npm start
  5. Clone down this repository git clone https://github.com/tylrs/overlook-hotel
  6. CD into your local clone cd overlook-hotel
  7. Install project dependencies npm install
  8. Run npm start and open localhost:8080 in your preferred browser

Goals

  • Use OOP to drive the design of the application and the code
  • Work with an API to send and receive data
  • Solidify the code review process
  • Create a robust test suite that thoroughly tests all functionality of a client-side application

Features

GIF showing user login

GIF showing user login

GIF showing users future and past bookings

GIF showing users future and past bookings

GIF showing calendar and available cards

GIF showing calendar and available cards

GIF showing filter options

GIF showing filter options

GIF showing add new booking

GIF showing add new booking

GIF showing responsive app

GIF showing responsive app

Contributors

This application was written by Taylor Galloway frontend engineering student at Turing School of Software & Design.

Technologies Used

Future Additions:

  • Add another user who is a manager who can perform different operations with the same data set.
  • Use more mixins to DRY up SCSS
  • Give manager option to delete a customer's bookings

overlook-hotel's People

Contributors

robbiejaeger avatar tylrs avatar hannahhch avatar alexmkio avatar khalidwilliams avatar dependabot[bot] avatar

Watchers

 avatar

overlook-hotel's Issues

DOM for It 2

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
  • Render tags to filter rooms by
  • 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

It 3 HTML/CSS

  • 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:
  • username: customer50 (where 50 is the ID of the user)
  • password: overlook2021
  • Upon successfully loggin in, I should see my dashboard.

DOM for IT 1

I should see a dashboard page that shows me:

  • Any room bookings I have made (past or present/upcoming)
  • The total amount I have spent on rooms

It 1 HTML/CSS

I should see a dashboard page that shows me:

  • Any room bookings I have made (past or present/upcoming)
  • The total amount I have spent on rooms

It 2 HTML/CSS

  • 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

DOM for it 3

  • 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:
  • username: customer50 (where 50 is the ID of the user)
  • password: overlook2021
  • Upon successfully loggin in, I should see my dashboard.

Add error handling for api calls and not found rooms

  • Display message if no rooms found for date
  • Display message if post successful
  • Display message if post unsuccessful
  • Display message if fetch one user unsuccessful
  • Display message if fetch multiple data points unsuccessful

Clean up SASS

  • Login Page
  • Dashboard page
  • Calendar Selection Page
  • Available Rooms Page
  • Card Styling in general
  • Card Full view

Design wireframe

  • General Dashboard page for it 1
  • Nav Bar
  • Date Selection view
  • Room Details View
  • Login View
  • Mobile View

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.