Skip to content

FabioRocha231/go_simple_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Go API

A simple go API Rest made by following go docs

Reference

Running Locally

Clone the project

  git clone https://github.com/FabioRocha231/go_simple_api

Enter the project directory

  cd go_simple_api

Install the Dependencies

  go get .

Start the Server

  go run .

API Documentation

Return all albums

  GET http://localhost:8080/albums

returns an specific album

  GET http://localhost:8080/albums/:id
Query Type Description
:id number Mandatory

Create a item

  POST http://localhost:8080/albums
Parameter Type Description
id number Mandatory
title string Mandatory
artist string Mandatory
price number Mandatory

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages