A backend application on the HMIF UNSRI website.
- Start with cloning this repo on your local machine :
$ git clone git@github.com:HMIF-UNSRI/yuuki.git
$ cd yuuki
-
Install MySQL, then create database named
yuuki
-
Run database migration using
migrate
library, read documentation here :
$ migrate -database "mysql://root:@tcp(localhost:3306)/yuuki?parseTime=true" -path migrations up
You can customize your database url with your own .env
files.
- Start server
$ go run main.go
Connect to https://localhost:8080/api.
Arya Yunanta |