Discover Packages
github.com/BravoAndres/Go-Auth-Redis-Postgres-API
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jul 17, 2021
License: MIT
Opens a new window with license information.
README
README
¶
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
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
Built With
License
MIT License.
Expand ▾
Collapse ▴
Directories
¶
internal
pkg
Click to show internal directories.
Click to hide internal directories.