Skip to content

swapy/bookmyshow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

To do movie booking for all customers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages