An API Boilerplate written in Golang with chi-route and Gorm. Write restful API with fast development and developer friendly.
In this project use 3 layer architecture
- Models
- Repository
- Usecase
- Delivery
- CRUD
- Jwt, refresh token saved in redis
- Cached user in redis
- Email verification
- Forget/reset password, send email
chi
: router and middlewareviper
: configurationcobra
: CLI featuresgorm
: ormvalidator
: data validationjwt
: jwt authenticationzap
: loggergomail
: emailhermes
: generate email bodyair
: hot-reload
- Generate the private and public keys: travistidwell.com/jsencrypt/demo/
- Copy the generated private key and visit this Base64 encoding website to convert it to base64
- Copy the base64 encoded key and add it to the
config/config-local.yml
file asjwt
- Similar for public key
- Create mailtrap account
- Create new inboxes
- Update smtp config
config/config-local.yml
file assmtpEmail
docker-compose up
- React-Query
- https://github.com/c9s/bbgo
- https://github.com/Gituser143/cryptgo
- https://github.com/m1/go-finnhub
- https://github.com/achannarasappa/ticker
- https://betterprogramming.pub/build-a-real-time-crypto-ticker-with-go-and-influxdb-2-89e968c65b7e
- https://ajiybanesij.medium.com/building-go-applications-using-influxdb-87b462fd9d70
- https://github.com/wentao-yang/StockAnalysisApplication
- https://github.com/landoyjx/charting_library_wiki
- https://github.com/serdimoa/charting
- https://github.com/tradingview/yahoo_datafeed