Skip to content

sakuraapp/gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published