Skip to content

Repository files navigation

NekoBackend

This repository contains the Kotlin/Spring backend used by the Minecraft club project hub. The frontend contract is under /api/project/** and /api/admin/**.

Quick start with Docker

Requirements: Docker Desktop with the Linux engine enabled.

docker compose up --build -d
docker compose ps
curl http://localhost:8080/actuator/health

Start the frontend in its repository with npm ci and npm run dev, then open http://localhost:3000. Its development API base is http://127.0.0.1:8080/api.

The compose file enables demo data so a fresh installation has projects and ideas to inspect. The local demo administrator is admin with password 1234567890. These credentials and the compose secrets are for local preview only.

Stop the stack with:

docker compose down

The database, Redis data, uploaded files, and logs are kept in named volumes. To remove the local preview data as well, use docker compose down -v.

Manual startup

Manual startup requires JDK 17, PostgreSQL, and Redis. Copy .env.example to .env, replace the database, Redis, JWT, CORS, mail, and file-storage values, then run:

Copy-Item .env.example .env
.\gradlew.bat bootRun

Use DB_HIBERNATE_DDL_AUTO=update only for a disposable development database. Use versioned migrations and a non-destructive schema policy for production.

Verification

.\gradlew.bat clean test bootJar --no-daemon

Do not commit .env, storage/, logs/, build/, or IDE files.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages