Skip to content

krozner/FootballLeagues

Repository files navigation

FootballLeague

Build & run app

$ docker-compose up -d

App install

$ bin/app-bash install

Endpoints

Login

POST /api/login_check 

login JSON request body example:

{"username":"test","password":"test"}

for creating user check FOSUserBundle doc

Get list of league teams

GET /api/team/{leagueId} 

Create new team

POST /api/team 

Update team data

PUT /api/team/{teamId} 

JSON request body example:

{"name": "Some name of football team", "league": 1, "strip": "example text"}
  • name & league are required fields

Remove league

DELETE /api/league/{leagueId} 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages