Skip to content

tamasgyenese/ticket_system_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ticket System Management

Multi-Module Project with Maven to reserve a seat for an event. The Core module communicates with the H2 database using JDBC, and also it contains the schema.sql and data.sql which are automatically called in starts. In the Api module there are three end points:

  • /getEvents -> return all Event [GET]
  • /getEvent/id -> return a specific event with details [GET]
  • /pay [POST] requires: eventId, seatId, cardId

In the headers we get a Base64 encoded token for validate the user.
For security we are using basic authentication with [Spring Security](https://spring.io/projects/spring-security) The Ticket module has the same endpoints like Api module, just before these we use /ticket. The functionality is almost the same, but we set a key-value pair in headers to every response, the value is the API-KEY, whose Hash code is stored in [Partner Module](https://github.com/tamasgyenese/partner_module).

Built With

Database

Structure of the database

Alt text

Authors

  • Tamas Gyenese

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages