Skip to content

sieka44/FrequentFlyer

Repository files navigation

  ______                               _     ______ _
 |  ____|                             | |   |  ____| |
 | |__ _ __ ___  __ _ _   _  ___ _ __ | |_  | |__  | |_   _  ___ _ __
 |  __| '__/ _ \/ _` | | | |/ _ \ '_ \| __| |  __| | | | | |/ _ \ '__|
 | |  | | |  __/ (_| | |_| |  __/ | | | |_  | |    | | |_| |  __/ |
 |_|  |_|  \___|\__, |\__,_|\___|_| |_|\__| |_|    |_|\__, |\___|_|
                   | |                                 __/ |
                   |_|                                |___/

Introduction

Web application for frequent flyers. For more information see documentation open index.html file in browser.

Authors: Kamil Sięka, Zachariasz Zacharski.

Setup

Step 1: To get started you need to:

Step 2: Run cmd and enter command:

git clone https://github.com/academy-poland/sabre_Zax37_sieka44.git

Step 3: Run IntelliJ IDEA, click "Import Project" and select recently downloaded project.

Step 4: Choose "Import project from external model" then set Gradle's location, choose JVM 8.0 and click "Finish".

Run

  1. Execute Gradle clean bootRun task.
  2. Go on FrequentFlyer website.

HotSwap support

  1. Go to Intellij's Settings > Build, Execution, Deployment > Debugger > HotSwap.
  2. In "Reload classes after compilation" section select "Always".
  3. When project is running simply press Ctrl+F9 (Build > Build Project) to preview changes.

Used Technologies

Backend

Frontend

Testing

Functionality Description

1.Login

  • User can log in on account using Google+ or FrequentFlyer account.
  • If email or password would be wrong, suitable information will be provided.
  • If user does not have account on FrequentFlyer service it can be created, simply by filling up "sign up" form.

2.Homepage provides information like:

  • How many miles user has flown and how many left to next FrequentFlyer level.
  • Last flights of current log in user.

3.Profile

  • User can update profile with "Name" and "Address" fields.
  • User can reset his password, if such a need occurs.

4.Add Ticket

  • User can add ticket to his database by filling form. FrequentFlyer service will automatically update user profile with right amount of miles.
  • Last added ticket will occur in flight history on the homepage and user miles will be updated.

5.Logout

  • User can logout by clicking on his name in the upper right corner. Service will automatically redirect user to log in screen.

About

Simple application for frequent flyers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •