Coder Social home page Coder Social logo

sagar-kale / klm-casestudy Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 293 KB

Angular app which is backed by spring boot , spring boot connects rest service with oauth2 , which will fetch airport information along with fare ,code etc,

Java 48.93% JavaScript 2.68% TypeScript 32.84% CSS 0.70% HTML 14.87%
spring-boot oauth2-client angular7 npm-scripts frontend-web

klm-casestudy's Introduction

KLM Airlines Case study

Contains spring boot and angular app

Important Notes.

oAuth2 is handled on application level i.e spring boot side using OAuthRestTemplate and Spring-Security_oAuth2

Prerequisites.

Clone https://github.com/SanjeevKote/simple-travel-api-maven-mock.git and run using mvn spring-boot:run.

Compile and Run.

mvn clean install It will install npm and its dependencies via frontend-maven-plugin

**Then run application using mvn spring-boot:run command ,

Open browser type url -> http://localhost:7777 It will load Angular UI**

Spring Boot Endpoints

http://localhost:7777/airports for fetching airport with param term .

http://localhost:7777/fares/{origin}/{destination} for fetching fare using origin and destination

http://localhost:7777/airports/{code} for fetching specific airport using code

Statistics Endpoint

http://localhost:7777/metrics/total/requests

UI

Provided origin and destination inbuilt search at search flight Menu

Backend Statistics displayed at Statistics Menu

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.