Categorygithub.com/imniynaiy/ticket-system
repositorypackage
0.0.0-20241219133202-f1430600150d
Repository: https://github.com/imniynaiy/ticket-system.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Ticket System

Ticket System based on H26 AP Test.

Functions

Basic

  • ✅ User login (Redis), registeration✅
  • ✅ Logs
  • Error

Without Login

  • ✅ Register
  • ✅ List routes
  • ✅ Check availble count of seats by Route

Administrators

  • ✅ Add, update, delete, search Routes
  • ✅ Add, update, delete, search Seats
  • ✅ Add, update, delete, search Seatclasses

User

  • ✅ Check availble seats by Route
  • ✅ Order seat
  • ✅ List orders, get specific order

Usage

  1. Run the sql script to set up database.
  2. Update configs (default config locates at configs/config.yml)
  3. Run the server (Or build docker image make docker)