GithubHelp home page GithubHelp logo

makemystay's Introduction

MakeMyStay

This project was bootstrapped with Create React App. MakeMyStay is an online portal where host can list their properties and guests can browse them.

Steps to install

clone this repo
npm install
npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Project structure (src folder)

src
|
|- components (UI components)
|- config
|- data (mock data used only via dummy API. No UI component is directly reading data from here)
|- routes (UI routes and configuration lies here)
|-service (business logic along with dummy API call lies here)
|- store (redux related state management logic lies here)
|- utils (utilities)

Features

✔️ Login/Logout feature for Guest and Host

✔️ Authenticated Routes

✔️ Property List View where Guest can see all listed properties while Host can see properties list by him/her.

✔️ Property View with static details of any property

✔️ Option to book a property (only Guest can book a property)

✔️ Booking form for requesting new booking (Managed through localstorage)

✔️ Manage Booking Requests feature for Host (Bell Icon on top left in Host login view)

✔️ Host can Approve/Reject Booking Request

Pending items due to limited time

❌ Payment and Refund feautre on rejection of booking

❌ Complete code coverage (unit testing)

❌ Response designs

❌ Form validations

Asssumptions -

  • All mock data (inside src >> data) is based on asssumptions
  • Since, signup feature is not ready, two pre-registered (assumed) users that can be used are as follows
    •   GUEST ->
        Username - John 
        Password - _Any string_ (no password validations are done yet)
      
        HOST ->
        Username - David
        Password - _Any string_ (no password validations are done yet)
      
  • Guest can see all properties listed in DB while Host can see only properties listed by him/her.
  • Host can not book any property. (He/She needs a guest account to book any property)
  • No Restrictions applied on Check In and Check Out Dates

makemystay's People

Contributors

satyamsetia avatar

Watchers

James Cloos 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.