Skip to content

WandersonSoares00/Api-Rest-Golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Api-Rest-Golang

This is a simple implementation of a Rest API using only the standard library (except the database drive) of the Golang language.

For simplicity the API has the following limitations:

  • Each valid request is a connection to the database
  • Competing requests were not handled

The problem

The requirements specification can be found here

Routes

  • /api/v1/gravadoras
  • /api/v1/albuns
  • /api/v1/faixas
  • /api/v1/compositores
  • /api/v1/interpretes
  • /api/v1/playlists
  • /api/v1/gravadora/id
  • /api/v1/gravadora/id/albuns
  • /api/v1/albuns/id
  • /api/v1/albuns/id/faixas
  • /api/v1/faixas/id
  • /api/v1/faixas/id/interpretes
  • /api/v1/faixas/id/compositores
  • /api/v1/compositores/id
  • /api/v1/compositores/id/
  • /api/v1/playlists/id
  • /api/v1/playlists/id/faixas

Here is an example of consuming the api