Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lyuangg/tiny-blog
tiny-blog
https://github.com/lyuangg/tiny-blog
gin go golang tiny-blog
Last synced: 3 days ago
JSON representation
tiny-blog
- Host: GitHub
- URL: https://github.com/lyuangg/tiny-blog
- Owner: lyuangg
- License: mit
- Created: 2021-02-08T09:21:06.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-08T10:03:18.000Z (almost 4 years ago)
- Last Synced: 2024-11-22T15:37:41.845Z (2 months ago)
- Topics: gin, go, golang, tiny-blog
- Language: Go
- Homepage:
- Size: 131 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tiny-blog
## package
- go get -u github.com/gin-gonic/gin
- go get -u github.com/spf13/viper
- go get -u github.com/sirupsen/logrus
- go get -u github.com/go-sql-driver/mysql
- go get -u github.com/lestrrat-go/file-rotatelogs
- go get -u github.com/rifflock/lfshook
- go get -u github.com/sirupsen/logrus
- go get -u github.com/russross/blackfriday/v2## import sql
> sql/tiny-blog.sql
## config
> ./config.yaml
## run
```
go run main.go
```## account
http://localhost:8086/login
username: [email protected]
password: 123456## preview
![](./assets/img/screen-1.png)
![](./assets/img/screen-2.png)
![](./assets/img/screen-3.png)
![](./assets/img/screen-4.png)