nopjmp / mogboard-next

Mogboard, the frontend for the Universalis crowdsourced market data API.

Home Page:https://universalis.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Codacy Badge

mogboard-next

Mogboard, the frontend for the Universalis crowdsourced market data API.

Acknowledgements

Mogboard was originally written by Vekien, and its original source code can be found here. With his permission, we borrowed Mogboard as a frontend for Universalis after Mogboard became defunct in August 2019. We have since rewritten the website from the ground up to better suit our needs. The existing version of the website would not have been possible without Vekien's work on Mogboard.

Development

Getting started

cd devenv
docker-compose up -d
cd ..
yarn dev

Environment variables

Name Description Recommended development value
APP_ENV Makes the favicon red when not set to prod. dev
DISCORD_CLIENT_ID Discord application client ID, used for OAuth2. Create a Discord Application, register http://localhost:3000/api/auth/callback/discord as an OAuth2 callback URL, and paste the application's client ID here.
DISCORD_CLIENT_SECRET Discord application client secret, used for OAuth2.
NEXTAUTH_URL Website base URL. http://localhost:3000
NEXTAUTH_SECRET JWT secret. Whatever you want, as long as it's not empty.
DATABASE_HOST Database server hostname. localhost
DATABASE_PORT Database server port. 4003
DATABASE_USER Database user username. dalamud
DATABASE_PASS Database user password. dalamud
DATABASE_NAME Database name. dalamud
DATABASE_CONN Database maximum connections. 2-4x your number of CPU cores.
LODESTONE_API Lodestone scraper API address. https://lodestone.universalis.app

About

Mogboard, the frontend for the Universalis crowdsourced market data API.

https://universalis.app

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 64.2%Language:SCSS 23.4%Language:C# 5.8%Language:CSS 3.7%Language:JavaScript 1.8%Language:Dockerfile 0.9%Language:HTML 0.2%