An open API service indexing awesome lists of open source software.

https://github.com/meekb/overlook_vue

Overlook is a hotel booking application using Vue 3 with Nuxt.js and Cypress for end to end testing
https://github.com/meekb/overlook_vue

nuxt vue vuejs

Last synced: 3 months ago
JSON representation

Overlook is a hotel booking application using Vue 3 with Nuxt.js and Cypress for end to end testing

Awesome Lists containing this project

README

          

# Overlook Hotel - Currently Under Construction πŸ¦ΊπŸ› 

## Overview
This is a rebuild of an earlier vanilla JS project called Overlook. It's a hotel booking application which allows a user to login with a username and password, view the total amount of money spent at the hotel, view details of their previous stays, and book future stays. The project is under construction using Vue 3 with Nuxt.js so **PLEASE PARDON THE MESS**. End to end testing will be completed using Cypress.

*[The original spec for Overlook can be found here](https://frontend.turing.edu/projects/overlook.html)*
*[Instructions for cloning and running the Overlook-api can be found here](https://github.com/turingschool-examples/overlook-api)*

## Instructions

```bash
# clone down this repo
$ git clone git@github.com:Meekb/Overlook_Vue.git
$ cd into project

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev
```
## Project Details
* Built with Vue 3 using components
* Page routing will be handled by Nuxt.js - **UNDER CONSTRUCTION**
* Username: 'customer01' to 'customer50'
* Password: 'overlook2021'
* API holds data for users, rooms, and bookings
* Bookings are for the year 2020
* No error handling for past check-in dates which currently allows for POSTs in 2020
* GET and POST implemented with Axios
* Application testing will be completed using Cypress - **UNDER CONSTRUCTION**

## Walkthrough of Overlook at current stage of development

Providing an incorrect username or password will throw an error for the user then clear the input fields for re-entry
![overlook-login](https://user-images.githubusercontent.com/76264735/132587112-3c6df0dc-fcee-4acb-a649-726d4306d11f.gif)

Once successfully logged in, the user can view their history with Overlook Hotel including the total dollars they've spent.
Wow, that's a lot of money! This hotel must be REALLY popular
![overlook-history](https://user-images.githubusercontent.com/76264735/132587356-a83bc8e0-87a1-4177-ad3e-de072501783b.gif)

User searches by providing a check-in date and selecting a room type
![overlook-search](https://user-images.githubusercontent.com/76264735/132585053-2a229971-be18-4393-9bb7-445673d8bd07.gif)

If no rooms of that type are available for the check-in date, the user will receive a strongly worded message advising them to
change the room type or adjust their check-in date
![overlook-ahshit](https://user-images.githubusercontent.com/76264735/132585448-e57f4f45-83bd-4861-bdb8-700ee5be98f7.gif)

Once a room has been booked, the user will receive a success message and confirmation number for their records
![overlook-confirmation](https://user-images.githubusercontent.com/76264735/132585522-afd0469d-284a-4659-8102-878e8e721b8d.gif)

## Tech Stack


Vue 3
Nuxt.js
JavaScript ES6
CSS
Cypress







## Contributors


Beth Meeker GH


Beth Meeker avatar

[Turing School of Software & Design - Original Overlook spec](https://frontend.turing.edu/projects/overlook.html)