Skip to content

This is an example project base on Spiral Framework and GRPC microservices.

Notifications You must be signed in to change notification settings

meekstellar/ticket-booking

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ticket booking system

This is an example project base on Spiral Framework and GRPC microservices.

Requirements

  • PHP 8.1
  • composer
  • docker

Installation

Clone project into a folder

Run console commands

chmod +x run.sh
./run.sh

Project structure

  • frontend - SPA GUI
  • web - REST API
  • users - GRPC microservice. It's responsible for user management and auth tokens management. Works only with database.
  • cinema - GRPC microservice. It's responsible for movies and reservation. Works with database and temporal.
  • payment - GRPC microservice. Fake payment gateway. It's receives requests for money charging and responses with receipt.
  • shared - Shared package for all microservices. It contains common classes, proto files and compiler, DTO's, GRPC clients, e.t.c.

docker-compose.yaml contains all necessary containers to run project.

Database

  • Connection address: 127.0.0.1:5432
  • Username: homestead
  • Password: secret
  • Database: homestead

About

This is an example project base on Spiral Framework and GRPC microservices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 91.2%
  • Vue 5.8%
  • JavaScript 2.2%
  • Shell 0.4%
  • CSS 0.2%
  • Hack 0.1%
  • Dockerfile 0.1%