mirror of
https://github.com/Down2Jam/Jamcore.git
synced 2026-04-29 07:34:49 -04:00
Backend for the D2Jam game jam site.
https://d2jam.com
- TypeScript 99.3%
- JavaScript 0.5%
- Dockerfile 0.2%
|
|
||
|---|---|---|
| .devcontainer | ||
| .vscode | ||
| controllers | ||
| helper | ||
| logs | ||
| middleware | ||
| prisma | ||
| public | ||
| routes/v1 | ||
| scripts | ||
| services | ||
| types | ||
| .dockerignore | ||
| .gitignore | ||
| .nvmrc | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| main.ts | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Jamcore
Backend for a jam site
To run you can first set environment variables for the database in a .env file
POSTGRES_USER=jammer
POSTGRES_PASSWORD=INSERTPASSWORDHERE
POSTGRES_DB=jamcore
TOKEN_SECRET=RANDOMSTRINGHERE
And then run
if you are running Compose v2
(When running v2 make sure to remove version: "3" from the docker-compose.yml since it's deprecated in v2)
docker compose up --build -d
if you are running Compose v1.
Warning
docker-compose up --build -d
if you have docker and docker compose. This builds the docker image for the backend and then runs it (and also runs the database)
-
The final Compose V1 release, version 1.29.2, was May 10, 2021. These packages haven't received any security updates since then. Use at your own risk. ↩︎