waosverse-api

command module
v0.0.0-...-13db65c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2022 License: MIT Imports: 12 Imported by: 0

README

WeAre Open Source Metaverse

Update Swagger Documentation

go get github.com/swaggo/swag/cmd/swag
go install github.com/swaggo/swag/cmd/swag
swag init

Local Run

go run main.go
aws-vault exec waosverse-dev --backend=pass -- go run main.go

Local Docker Build

docker build . -t waosverse-api:latest

Local Docker Run

docker run waosverse-api:latest

Local Browsing

http://localhost:8080/swagger/index.html#/default/get-string-by-int

Generate HEX Encoded 128-Bit Encryption Key

Secret key: oidc-cookie-encryption-key

openssl rand -hex 16

Configuration

Environment Variables

See .env.examples file.

Secrets
  • oidc-cookie-encryption-key - OIDC Cookien Encryption Key (hex encoded 128-bit encryption key)
  • oidc-client-secret-google - OIDC Client Secret for Google

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
internal
api
sec
sto

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL