Skip to content

gustavocd/api-rest

Repository files navigation

Basic REST API with Go

This is a simple REST API built with Go.

Clone and run the server

git clone https://github.com/gustavocd/api-rest.git && cd api-rest
make run

Available endpoints

Endpoint Description HTTP method
/api/notes Get all the notes GET
/api/notes Create a note POST
/api/notes/{id} Edit a note PUT
/api/notes/{id} Delete a note DELETE

Note: check the source code(models/note.go) to get the correct structure to make the json object 😄

About

A basic RESTful API built using Go.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published