/screen-seat-api

A RESTful API developed in Golang for Screen Seat, a system designed to search for available movies and purchase tickets to watch them.

Primary LanguageGo

Screen Seat API

A RESTful API made for Screen Seat, a system designed to search for available movies and purchase tickets to watch them.

STACK

  • Golang
  • Fiber (Go HTTP framework)
  • PostgreSQL
  • SQLC
  • RabbitMQ
  • Docker
  • Testify (Testing)
  • AWS S3

GUIDE TO RUN

To run this project locally, starting by clone the repository:

git clone https://github.com/tomazcx/screen-seat-api.git

Then, cd into the project folder:

cd screen-seat-api

Generate the code for the database queries with SQLC (make sure to have it installed)

sqlc generate

Finally, start the project by running:

make up

USAGE

To list all the available make commands, run:

make help

TESTING

You can execute one of the two commands to run all the application tests:

make test
# or 
go test ./...