Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psygo/real-fox
Ranking Fox Weiqi players beyond 9d
https://github.com/psygo/real-fox
baduk elo foxweiqi go igo ranking weiqi
Last synced: about 1 month ago
JSON representation
Ranking Fox Weiqi players beyond 9d
- Host: GitHub
- URL: https://github.com/psygo/real-fox
- Owner: psygo
- Created: 2024-06-03T15:35:17.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-07T12:26:14.000Z (7 months ago)
- Last Synced: 2024-06-07T19:18:20.030Z (7 months ago)
- Topics: baduk, elo, foxweiqi, go, igo, ranking, weiqi
- Language: TypeScript
- Homepage: https://real-fox.vercel.app
- Size: 538 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Real Fox
Ranking Fox Weiqi players beyond 9d.
> Huge thanks to [@ale64bit](https://github.com/ale64bit) for his work on the [openfoxwq](https://github.com/openfoxwq) project, otherwise this wouldn't have been possible.
## Services and Tech Used
- [Vercel](https://vercel.com) for handling deployment, and cron jobs.
- [Vercel Postgres](https://vercel.com/docs/storage/vercel-postgres) for handling the DB.
- [Drizzle](https://orm.drizzle.team) for ORM.
- [Open Fox API](https://github.com/openfoxwq/api)## Dev
### Environment Variables
This is the shape of the project's environment variables:
```env
#-----------------------------------------------------------
# 1. DrizzlePOSTGRES_URL=
NODE_ENV=#-----------------------------------------------------------
# 2. Open Fox APINEXT_FOX_API_USER=
NEXT_FOX_API_PASSWORD_HASH=
NEXT_FOX_API_AUTH=NEXT_FOX_API_ID=
NEXT_FOX_API_KEY=#-----------------------------------------------------------
```### EdgeDB
To create migrations:
```sh
edgedb migration create
edgedb migrate
```If you would like to reset things, you can:
```sh
edgedb
```And then use `reset schema to initial;`.
You will also probably need to update Next.js' inferred types with:
```sh
pnpx @edgedb/generate edgeql-js
```It's also possible to watch for diffs on EdgeDB with:
```sh
edgedb watch
```