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

https://github.com/banyango/dailydo.server

DailyDo server
https://github.com/banyango/dailydo.server

Last synced: over 1 year ago
JSON representation

DailyDo server

Awesome Lists containing this project

README

          

# Gidailydoy Server

Todo

Docker compose MariaDB
Migrations
Post Repository
Post Pagination
Index routes
Main server stuff
Post Post with server jwt or something

### Requirements

Golang v1.15.5

### Migrations

Migrations use go-migrate to handle migrations.

The up/down are stored in the migrations folder. If you alter the database you'll need to add an
update script there.

To migrate you database you'll need to run the following command.

```
migrate -path migrations/ -database "mysql://dailydouser:dailydotest@/dailydo_test" up 2
```

_This command will migrate the test db that spins up in docker-compose.dev_