/simple_insurance

Simple app for flight insurance

Primary LanguageJavaScript

Insurance

Simple Insurance App use Express JS

Usage

  1. Clone the repository or download and extract it
  2. Run by doing
insurance $ npm install
  1. Start by doing
insurance $ nodemon index.js

Assumptions

  1. Insurance has list airline names, flight numbers, date of flights, passengers used it and according to price insurance that would be given.
  2. Get insurance price should use airline name, flight number, and date of flight to get specific price.
  3. Use insurance id to get descriptions, term and conditions. It could use to confirmation payment API.
  4. Create order (From client) use insurance id, username to send to server.

API Documentation

For API documentation, you could open (https://documenter.getpostman.com/view/532427/RWaPumWL).