Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

MineNTU-Service-API

Service API for MineNTU 臺大麥塊.

Database Howto

Install uuid_v4 function

We use UUID_V4 as id in each table, so we need to install the extension on database initialization.

CREATE EXTENSION IF NOT EXISTS "uuid-ossp";

Environment variables

Howto

We use dontenv to manage environment variables, please follow instruction below:

  1. Create .env file in the root of this project.
  2. Paste variables below with its value in the file.

Variables

GOOGLE_CLIENT_ID=
DB_USER=
DB_PASS=
DB_NAME=
DB_HOST=
DB_PORT=
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
SENTRY_DSN=
BOT_ORIGIN=
FRONTEND_ORIGIN=
TOKEN_SECRET=

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages