module
Version:
v0.0.0-...-468e309
Opens a new window with list of versions in this module.
Published: Mar 13, 2023
License: AGPL-3.0
Opens a new window with license information.
README
¶
Sakura API
Installation
Install the dependencies
go get
Copy the .env.sample file as .env
cp .env.sample .env
Create a discord application on Discord's Developer Portal, then fill in your information in the .env file
DISCORD_KEY="application id"
DISCORD_SECRET="application secret"
DISCORD_SCOPES="identify"
DISCORD_REDIRECT="http://website url/auth/discord/callback"
Usage
To run in a development environment:
go run main.go
Directories
¶
Click to show internal directories.
Click to hide internal directories.