An open API service indexing awesome lists of open source software.

https://github.com/pdrum/todo


https://github.com/pdrum/todo

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

TODO API
--------
The project is a demo CRUD app, it exposes a POST endpoint and a GET
endpoint for creating some to do list items and getting list of created
items.

Each to do item has an `id`, a `title` and a `done` field.

In order to setup db and run migrations of project, run

```
DB_PASSWORD= docker-compose up
```

If you want to drop db for any reason run

```
DB_PASSWORD= docker-compose down
```

the in order to run the project run
```
GO111MODULE=on DB_PASSWORD= go run main.go
```