Automatic court reservations
Find a file
collin e3402fed65
All checks were successful
ci/woodpecker/manual/test Pipeline was successful
ci/woodpecker/manual/deploy Pipeline was successful
Adding env var to show version is local
2026-04-20 09:16:01 +02:00
.woodpecker Only listening to push events on main branch for test workflow 2026-03-25 11:07:07 +01:00
database/migrations Adding reservation cancellation 2026-03-25 11:07:21 +01:00
docker Another reorganization of docker layers 2024-03-14 15:40:08 +01:00
src Adding env var to show version is local 2026-04-20 09:16:01 +02:00
test Fixing isAvailableForReservation function and adding unit tests 2025-04-22 12:56:28 +02:00
.eslintrc.js Adding recurring reservations and updating some linting/formatting rules 2023-06-29 10:32:09 +02:00
.gitignore Switching to use SQLite instead of MySQL 2023-05-23 15:09:14 -05:00
.nvmrc Updating node version, improving build process and adding required modules to dev dependencies 2023-05-23 15:09:11 -05:00
.prettierrc Big ole refactor to using nestjs for some practice 2023-05-26 15:43:14 -05:00
data-source.ts Correcting entity and adding migration 2023-06-29 10:39:27 +02:00
ecosystem.config.js Updating ecosystem config 2026-03-23 10:58:51 +01:00
nest-cli.json Big ole refactor to using nestjs for some practice 2023-05-26 15:43:14 -05:00
package-lock.json Migrating to self-hosted solution for cicd and deployments 2025-04-29 11:24:20 +02:00
package.json Migrating to self-hosted solution for cicd and deployments 2025-04-29 11:24:20 +02:00
README.md Adding status badge from woodpecker to README 2026-03-24 17:03:31 +01:00
tsconfig.build.json Big ole refactor to using nestjs for some practice 2023-05-26 15:43:14 -05:00
tsconfig.json Removing baseUrl from tsconfig 2024-03-12 13:01:41 +01:00

autobaan

alt text

Automatic court reservation!

Setup

Requirements

  • Node.js (18.x)
  • npm (8.x)
  • nvm
  • Docker
  • redis

Using nvm

  1. Install nvm
  2. nvm use will use version specified in .nvmrc
  3. nvm install-latest-npm will upgrade NPM to latest version (8.x)

Usage

npm install
npm start:dev

Deployment

  • Create a volume which will store the SQLite database file using docker-like
  • Build image via provided dockerfile
  • Run container with built image exposing port 3000 and mapping the aforementioned volume to /app/db

CD

Using woodpecker to deploy this via pm2.