Skip to content
/ go-todo Public

Simple API using Gin and Gorm (Postgres) to get a feel for Golang

Notifications You must be signed in to change notification settings

hugomd/go-todo

Repository files navigation

go-todo

Simple to do list API with Gin and Gorm (with Postgres)

Docker

Clone this repository and run:

docker-compose up

You can then hit the following endpoints:

Method Route Body
GET /tasks
POST /tasks {"title": "task title"}
DELETE /tasks/:id
PUT /tasks/:id {"title": "task title", "completed": true}

Development

Installing

I'm using dep:

dep ensure

Running locally

go run main.go

About

Simple API using Gin and Gorm (Postgres) to get a feel for Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published