# README
Go-Auth-Redis-Postgres-API
Go-Auth-Redis-Postgres-API
is a RESTful Authentication API built with Go, Fiber framework JWT, Postgres, Redis & more!
This project provides Rest API and was made for fun/practicing to learn about Fiber Framework. Feel free to use/modify or send a pull request.
Contents
Features
- CRUD Functionality
- JSON payload request/responses
- Custom JWT middleware (highly inspired in fiber middleware)
- PostgreSQL & Redis for persistance/cache storage
- UUID
- Testing
- Docker (Coming soon! 🚀)
- Clean Code
Requirements
- Go 1.16+.
- PostgreSQL & Redis installed on your system.
- Copy
.env.example
and rename it to.env
& set your enviroment variables per usual.
Usage
-
Download and install dependencies with
go mod
$ go mod download
-
Running the project (local).
$ go run github.com/BravoAndres/Go-Auth-Redis-Postgres-API/cmd/
Todo
- Add Gorm
- Implement custom zap logger
- Migrations
- API Docs (Swagger)
- Add Tests
- CI/CD
- Docker
- Add simple frontend with Vue.js