An open API service indexing awesome lists of open source software.

https://github.com/kruczjak/shortener

WIP: Shortener API written in GO using Redis, gRPC and optional RabbitMQ to send events
https://github.com/kruczjak/shortener

golang grpc rabbitmq redis shortener

Last synced: about 2 months ago
JSON representation

WIP: Shortener API written in GO using Redis, gRPC and optional RabbitMQ to send events

Awesome Lists containing this project

README

          

# shortener
WIP: Shortener API written in GO using Redis, gRPC and optional RabbitMQ to send events

## Requirements

* go
* Redis (disable keys eviction when RAM is full if you want to keep old keys!)
* (optional) RabbitMQ

## Running

### HTTP server

HTTP server only makes redirections with 301 (Moved Permanently) status code. Build `main.go` file in http_server folder and run with needed environment variables.

### gRPC Server

gRPC API manages urls. Build `main.go` file in grpc_server folder and run with needed environment variables.