Skip to content

A full stack MERN application with SOA principles and WSO2 EI

Notifications You must be signed in to change notification settings

Y3S1-SE-Projects/DS-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DS-assignment2

architecture

Project Requirements

Assume that you have been asked to develop a hotel reservation platform. Following are the requirements given by the client and/or the Business Analyst.

  1. The system should have a web interface where travelers can reserve hotel rooms.
  2. A service should be there where hotels can add/update/delete reservation information.
  3. A service should be there where travelers can reserve rooms and cancel the reservation.
  4. A traveler may make multiple reservations as long as the dates don’t clash.
  5. Once a reservation is made, a traveler may (optionally) reserve a taxi, where a request may be sent to a taxi service (so there should be a third party taxi service).
  6. The payment for the reservations can be made using credit cards. Not all reservations may require pre-payment (it’s upto the hotel to decide whether pre-payment is required or not).
  7. The system can connect to a payment gateway for credit card transactions. The information that should be submitted includes the credit card number, amount, CVC number (3 digit no. at the back of the credit card) and card holder’s name.
  8. Once the payment is made the user should be given a confirmation of the appointment via SMS and email. These confirmations may be sent through third-party sms and email services.
  9. Hotel location may be displayed through the google map service.

Getting Started with PayPal - Installation 💻

This is the paypal gateway integration

1. To get your login details in the sandbox, click on "Accounts" in the left panel and then 
   select the personal account type and click on view details which will sho the email and password
   
2. Create a .env file and enter your details here 
   REACT_APP_PAYPAL_CLIENT_ID= <your client ID>

3.  Always rememeber when promted to login when you are iin the process of payment always 
    give the "personal account" details

Getting Started with Google Maps API - Installation 💻

Features?

  1. Google maps in React
  2. Adding Markers
  3. Panning and zooming maps
  4. Disable default controls
  5. Places Autocomplete
  6. Directions Service
  7. Directions Renderer on map

Create an API in the google developers console https://console.developers.google.com, make sure to enable billing for the google project, otherwise you may get a warning as development purposes only.

Add a .env file or .env.local in the project root and specify your API key as REACT_APP_GOOGLE_MAPS_API_KEY=your_api_key_here

Starting the whole app 🎁

In the project directory, you can run:

yarn install
yarn start