โ ๏ธ DisclaimerThis is currently being written! The old code is still available here, but will be deprecated once the new code is fully functional.
GDOL is a list stack for geometry dash. It aims to keep your list setup experience nice and easy while giving you complete freedom of customization.
Module | Version | Description |
---|---|---|
Client | Static Front-end made with Svelte | |
Server | REST API built on Fastify (Node.js) and Prisma |
$ npm install
The easiest way to spin up a database is with Docker. When inside the repo folder run:
$ docker-compose up -d
This will start a PostgreSQL instance with the default user example
and password example
. For more details take a look at the docker-compose.yml
.
Alternatively setup PostgreSQL manually.
Generate TypeScript definitions for Prisma:
$ prisma generate
Push the Prisma schema to the database. Your database needs to be running for this.
$ prisma db push
Optional: Generate some data
$ prisma db seed
# Serves the client at localhost:3000
$ npm -w client run dev
# Starts the server at localhost:3001
$ npm -w server run dev