Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rezairfanwijaya/go-todo
https://github.com/rezairfanwijaya/go-todo
containerization docker gin-gonic go mysql rest-api
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rezairfanwijaya/go-todo
- Owner: rezairfanwijaya
- Created: 2022-12-23T08:49:19.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T04:47:37.000Z (about 2 years ago)
- Last Synced: 2024-11-05T10:41:34.812Z (2 months ago)
- Topics: containerization, docker, gin-gonic, go, mysql, rest-api
- Language: Go
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# GO-TODO
Simple todolist application using golang. There are two main domains, namely `Todo` and `Activity`. One activity can have many todos.
## Run Locally
#### Clone the project
```bash
git clone https://github.com/rezairfanwijaya/Go-ToDo.git
```#### Go to the project directory
```bash
cd Go-Todo
```#### Make sure it's using mysql and create a new database to use in the ENV later
#### Set ENV with termainal or command prompt
#### example
```bash
set MYSQL_USER=root
set MYSQL_PASSWORD=
set MYSQL_HOST=127.0.0.1
set MYSQL_DBNAME=go_todo
```
#### Run application
```bash
go run main.go
```## Run With Docker
Please pull image from [registry](https://hub.docker.com/r/rezairfanwijaya/go-todo)## API Reference
API documentation can view [here](https://documenter.getpostman.com/view/11940636/2s8Z6vZEic)