This project is divided in two parts:
- Adminstration
- TicketHandler
This part roles are:
- To Create and login user
- To Check User Authorization
- To Add stadium
- To Add Matches
- To Add matches handler
This part contains views, models and forms
views: Adminstration part controller
schema: Validator layer
models: Defines the Tables for the server (Data layer).
At first we need to build the images for the containers. so firstly run:
sudo -s
docker-compose build
docker-compose up
For the migrations and the admin super user creation run the command below:
sudo ./run.sh
Now the services are ready.
Unfortunately beause of the lack of time i couldnt add tests for the project.All the API's are placed in the postman json document. you can test the requests via defined requests.