Skip to content

lucaspalencia/lu-pa-api

Repository files navigation

Flask API

Requirements

To run this project you need to install:

Running

All what you need is packed on docker-compose.

Setup the project:

make build

Start application:

make up

This command will launch these services:

Migrations and Seeds

Apply migrations on database:

make db-upgrade

Run seeds to create teams and simulate groups / playoff matches:

make db-seed

Endpoints with data:

When making API calls, you need to send x-api-key in request header with the value that is on your .env file.

The idea of ​​the event id being a parameter was thinking of a better API modeling. If you need to create other events, entities and relationships are ready for it

Tests

To run linter:

make lint

To run tests:

make test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published