Giter Site home page Giter Site logo

deepanshululla / flight-reservation Goto Github PK

View Code? Open in Web Editor NEW
44.0 2.0 37.0 11.04 MB

Airline E-Commerce website using Java Spring boot,MYSQL, AngularJS and Thymeleaf

Java 7.29% CSS 36.82% JavaScript 1.45% Ruby 0.40% HTML 53.18% Shell 0.68% PowerShell 0.18%
java-8 spring-boot thymeleaf e-commerce angularjs java-spring-boot airline-ecommerce-website bootstrap

flight-reservation's Introduction

Airline E-Commerce website using Java Spring boot, MySql, AngularJs and thymeleaf

  • Created a website clone for an Ecommerce airline web application using Spring boot, Spring data JPA(ORM) and MySQL. Added features to search and book flights.

  • Created an REST API to serve an an integration layer for flight checkin microservice. Created flight checkin microservice for passengers to check in.

  • Encoded passwords to prevent them from being stored in plain text and defined roles for different types of users to perform authentication and authrorization.

  • Added logging features and defined custom log rotation policies to log information to an external log file.

  • Added AngularJs to validate forms and for two way binding.

Details

  • Created a web application where logged in users as well as search and book flights.
  • Added feature to register new users and implement login.
  • Used Spring Data JPA(hibernate) as an ORM to interact with the MYSQL database.
  • Designed front end templates using thymeleaf and styled them using Bootstrap and Css.
  • Used bower.js to install jquery and bootstrap dependencies.
  • Created Integration layer(REST API) for flight checkin microservice to check in passengers with reservations.

Microservice for checking in passengers

https://github.com/deepanshululla/flight-checkin

Database Model

There are 6 tables

  • FLIGHT
  • RESERVATION
  • USER
  • PASSENGER
  • User_Role
  • Role

There is one to one mapping assumed between reservation and passenger as well as reservation and flight.

The role is used to classify different types of users for eg admin users and normal users.

User_role table creates a many to many relationship between users and roles. This means we can assign multiple roles to a user and a user can be assigned multiple roles.

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.