kruczjak / shortener

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:Go 98.5%Language:Shell 1.5%