Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 466 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 466 Bytes

Sakura Gateway

Installation

Install the dependencies

go get

Copy the .env.sample file as .env

cp .env.sample .env

Add your database information and other config to the .env file.

Note that the ALLOWED_ORIGINS field is used for site origins that are allowed to access the gateway (CORS).

ALLOWED_ORIGINS="http://hello.world, https://foo.bar"

Usage

To run in a development environment:

go run cmd/gateway/main.go