yagamiapp / web

The web-facing interface to Yagami
https://yagami.app
2 stars 0 forks source link

Yagami Web

This repo contains all of the code for the web interface of the yagami app

Developing

  1. Install dependencies
pnpm install
  1. Add env variables
DATABASE_URL=""

PUBLIC_OSU_CLIENT_ID=""
OSU_CLIENT_SECRET=""

PUBLIC_DISCORD_CLIENT_ID=""
DISCORD_CLIENT_SECRET=""

PUBLIC_TWITCH_CLIENT_ID=""
TWITCH_CLIENT_SECRET=""
  1. Run dev server
pnpm run dev

# or start the server and open the app in a new browser tab
pnpm run dev -- --open

If you install the Vite extension for VSCode, the devserver step will be handled for you.

Building

To create a production version of your app:

pnpm run build

You can preview the production build with npm run preview.