Giter VIP home page Giter VIP logo

homeaway-prototype-using-mern's Introduction

HomeAway Prototype

Steps to run the HomeAway Prototype
STARTING THE NODE-SERVER
  1. Open the root folder. Go to folder named HomeAway. You will see 3 folders named backend,kafka-backend and frontend. The frontend folder includes the react components used in the application and as the name suggests, the backend folder contains the nodejs backend portion and kafka-backend contains the kafka code to handle the requests' of consumers and producers sent to different topics.
  2. Move to the folder named backend. i.e HomeAway/backend
  3. Run the command "npm install" to install the required libraries into the folder in order to support the kafka-backend code.
  4. Run the command "nodemon" to start the server at port number 3001.
STARTING THE KAFKA-SERVER
  1. Open the root folder. Go to folder named HomeAway. You will see 3 folders named backend,kafka-backend and frontend. The frontend folder includes the react components used in the application and as the name suggests, the backend folder contains the nodejs backend portion and kafka-backend contains the kafka code to handle the requests' of consumers and producers sent to different topics.
  2. Move to the folder named kafka-backend. i.e HomeAway/kafka-backend
  3. Run the command "npm install" to install the required libraries into the folder in order to support the backend code.
  4. Start the zookeeper and kafka services.
  5. Run the command "npm start" to connect to kafka-services and allowing message queues to work.
STARTING THE CLIENT
  1. Traverse back to the root folder and move to the folder named frontend i.e /frontend
  2. Run the command "npm install" to install the required libraries into the folder in order to support the frontend code.
  3. Run the command "npm start" to start the client at port number 3000.
USING THE APP:
OWNER SIDE:
  1. Once the client is up and running: write "http://localhost:3000" into your browser. This is the entry point to the HomeAway Prototype.
  2. On the navigation bar, there will be a dropdown tab named "Login". This tab will help you to navigate between owner login and a normal travel login.
  3. Click on "Owner Login" from the dropdown. This will take you to owner login page.
  4. If you are a new user, sign yourself up using the "Sign Up" link provided at the owner login page.
  5. Once you are signed in, use that credentials to login into the owner dashboard.
  6. The next screen that you will see is the "Owner Dashboard" which will show you recent bookings which were donw on the proerties that you must have listed. (It will be blank, if no bookings were done on your properties or if you haven't listed any property)
  7. The "Welcome {username}" dropdown on the navbar will help you to navigate to pages like "Editing your profile","Adding a new property","Displaying properties you have added","Signing out".
  8. The "Add property" page will allow you to add your property. To upload photos for our property, navigate to " List property" tab and click on the "Add Photos" button of the property for which you want to upload the photos.
  9. The owner can always edit the account information as well as properties informtion(by clicking on property's name).
TRAVELER SIDE:
  1. Return to the home page after logging out of the owner account.
  2. Sign up or log in with a travel account after navigating to the travel login page.
  3. After logging in, the home page will have allow the traveler to search for different properties by entering the details into the form.
  4. After searching, the search results will be shown and click on the property that you want to rent. After you click on a property, the property's details page will open where you will have an option to book the property.
  5. Navigate to Account Information Page using the navugation bar dropdown. Edit the information and select a profile photo for yourself, if you want to. Navigate to "My trips" inside that page to see your recent bookings.

HAVE FUN!!!

homeaway-prototype-using-mern's People

Contributors

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