Giter Site home page Giter Site logo

bookmyshow's Introduction

Project to book movie tickets

Documentation:

  1. Architectural Decision Records ADR
  2. High level design view [High level design](docs/High Level design)
  3. Low level design view High level design

Note: Class diagram is not updated. Might have some outdated information.

Functional aspects covered

  • Theatre service Description: created to render theatre and linked shows.

APIS:

  1. getShowsByTheatre
  2. createShows
  3. deleteShow
  4. updateShow

visit ShowsController

Non functional features

  • API first approach with OpenAPI 3.0 visit openapi specifications
  • JPA auditing with AuditAware
  • Central Logging configuration
  • Global exception handler
  • Logging filter to log request and responses
  • Env based configuration enabled
  • common configuration in separate file
  • API specification in specification project separately to handle clients,api generationspecifications
  • Flyway enabled to support database migrations
  • shared libraries are separate to enable common code to be shared accross services. visit shared libraries
  • Bill of materials for service and spec bom
  • ArchUnit support to ensure developers follow good code practices archunit
  • Common error library to support all common errors common error library
  • Added few unit test cases.

Microservices envisaged

  • Theatre service
  • Booking service
  • Payment integration service
  • User service

Postman collection

Postman collection can be found at Postman collection

How to run

  1. create database in postgres instance with name customerdb.
  2. Update application-local yaml file to point to your database configuration.
datasource:
 url: jdbc:postgresql://localhost:5432/customerdb
 username: postgres
 password: postgres
  1. do mvn clean install in the root project level.
  2. Change to main application dir cd bookmy/services/theatre/theatre-service/src/main/java
  3. Run mvn spring-boot:run

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.