Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 574 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 574 Bytes

Go Redis REST API

Rest API for interacting with the Redis database.

Installation

go get github.com/darkorsa/go-redis-rest-api

Usage

Copy and rename .env_example to .env.

Fill .env file with settings matching you environment configuration.

Run:

go run main.go

The API endpoints documentation is generated using Swagger and available at url: {your-server-address}/apidocs/index.html

image swagger

Note that API endpoints require authorization with JWT token.

Token can be obtained at /token endpoint.