https://github.com/banyango/dailydo.server
DailyDo server
https://github.com/banyango/dailydo.server
Last synced: over 1 year ago
JSON representation
DailyDo server
- Host: GitHub
- URL: https://github.com/banyango/dailydo.server
- Owner: Banyango
- Created: 2020-06-17T03:41:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-31T22:41:24.000Z (over 4 years ago)
- Last Synced: 2025-02-12T09:52:46.722Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 12.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme
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_