Giter VIP home page Giter VIP logo

sw-architecture-design-asm1's Introduction

Welcome to eeet2582-asm1-s3820098 ๐Ÿ‘‹

Version Documentation Maintenance License: MIT

New generation website for The Princess of Arena Cam Ranh Home

Screenshots

Login Page

Login Page

Visitor Home Page

Visitor Home Page

Best Features

  • Custom Logo

  • FULLY responsive

  • Simple Login Logout

  • Simple booking with remote UPDATE API

  • Stunning photos galleries

  • Simple admin dashboard to update information at USERS view

Prerequisites

  • npm >=9.1.2
  • node 18.x

Install

yarn install

Usage

  • For starting dev version:
yarn dev
  • For building optimized and starting build version:
yarn build && yarn preview

Important Notes and Assumptions

Data sources

  • REST APIs are used to interract with a simple JSON holder called https://jsonbin.io

  • Meaning initial hotel information and updating its info are done ONLINE using APIs, not only LOCALLY.

Dummy accounts

  • Login/Logout mechanism: using local storage for keeping track of current user, who can either be a visitor or an admin. When information has been filled, simple string comparisions are done with local variables to validate those info and simulate a successful login session.

  • To login as a visior, try:

Username: visitor1
Password: visitor1-pwd
  • To login as an admin, try:
Username: admin1
Password: admin1-pwd

Visitors: relating to bookings

  • To begin booking process, hover at More button on navigation bar and select Booking Now

  • Each booking will be stored as a ticket and a visitor can only book ONE room of certain type at a moment

  • The price of a booking ticket is calculated as ROOM RATE x NUMBER OF STAYING DATES, in USD

  • There is no RESERVATION feature, meaning future bookings.

  • The end of the Booking Flow is Check Out, which is paying for bookings. However, due to time limitation, it has not been implemented. By this reason, ONLY remote JSON is updated and simple message is displayed.

Admin: relating to updating info

  • Due to time limitation, admin can only update the name, address and description of the hotel.

  • Info are AUTOMATICALLY REVALIDATED on UI after they are updated successfully

Author

๐Ÿ‘ค Le Nguyen Truong An

Dependencies Overview

Dependencies Overview

Known bugs

  • If you encounter this when refreshing visitor home or any page, go to the URL bar and direct your URL to '/', meaning root path. The page will auto redirect to the right page again:

Refresh Bug

Show your support

Give a โญ๏ธ if this project helped you!

๐Ÿ“ License

Copyright ยฉ 2022 Le Nguyen Truong An.
This project is MIT licensed.


This README was generated with โค๏ธ by readme-md-generator

sw-architecture-design-asm1's People

Contributors

anle6-tiki avatar drewindeed avatar

Watchers

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