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
- Host: GitHub
- URL: https://github.com/meekb/overlook_vue
- Owner: Meekb
- Created: 2021-08-31T16:26:38.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-09T15:04:09.000Z (almost 5 years ago)
- Last Synced: 2025-03-06T17:50:06.380Z (over 1 year ago)
- Topics: nuxt, vue, vuejs
- Language: Vue
- Homepage:
- Size: 156 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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

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

User searches by providing a check-in date and selecting a room type

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

Once a room has been booked, the user will receive a success message and confirmation number for their records

## Tech Stack
Vue 3
Nuxt.js
JavaScript ES6
CSS
Cypress
## Contributors
Beth Meeker GH
[Turing School of Software & Design - Original Overlook spec](https://frontend.turing.edu/projects/overlook.html)