______ _ ______ _
| ____| | | | ____| |
| |__ _ __ ___ __ _ _ _ ___ _ __ | |_ | |__ | |_ _ ___ _ __
| __| '__/ _ \/ _` | | | |/ _ \ '_ \| __| | __| | | | | |/ _ \ '__|
| | | | | __/ (_| | |_| | __/ | | | |_ | | | | |_| | __/ |
|_| |_| \___|\__, |\__,_|\___|_| |_|\__| |_| |_|\__, |\___|_|
| | __/ |
|_| |___/
Web application for frequent flyers. For more information see documentation open index.html file in browser.
Authors: Kamil Sięka, Zachariasz Zacharski.
Step 1: To get started you need to:
- Install JDK 1.8
- Install IntelliJ IDEA
- Install Git
- Download Gradle(or skip that and use the remote one)
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".
- Execute Gradle
clean bootRuntask. - Go on FrequentFlyer website.
- Go to Intellij's Settings > Build, Execution, Deployment > Debugger > HotSwap.
- In "Reload classes after compilation" section select "Always".
- When project is running simply press Ctrl+F9 (Build > Build Project) to preview changes.
- jQuery 3.1.1 with jQuery UI v1.12.1
- jQuery Validation Plugin
- Materialize 1.0 alpha(v0.100.2)
- Vue.js v2.5.13
- vue-resource 1.3.5
- SASS with GradleSassPlugin 1.2.3
- Auth0 Lock v11 for Web
- Moment.js 2.20.1
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.