All Projects → hugomd → go-todo

hugomd / go-todo

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

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].