Automatic court reservations
Find a file
dependabot[bot] 1592d81b43
Bump @babel/traverse from 7.20.12 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.12 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 16:56:22 +00:00
.github/workflows Changing how build-args are sent to docker build action 2023-09-20 11:06:35 +02:00
database/migrations Adding ability to reserve for others and to filter out shitty courts 2023-10-06 11:56:34 +02:00
docker Adding GIT_COMMIT to see hash in server 2023-09-20 11:03:20 +02:00
src Fixing regex for finding date and logging error on waiting list failure 2023-10-17 15:50:54 +02:00
test Adding recurring reservations and updating some linting/formatting rules 2023-06-29 10:32:09 +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
nest-cli.json Big ole refactor to using nestjs for some practice 2023-05-26 15:43:14 -05:00
package-lock.json Bump @babel/traverse from 7.20.12 to 7.23.2 2023-10-18 16:56:22 +00:00
package.json Adding ntfy module 2023-09-13 21:08:37 +02:00
README.md Big ole refactor to using nestjs for some practice 2023-05-26 15:43:14 -05:00
tsconfig.build.json Big ole refactor to using nestjs for some practice 2023-05-26 15:43:14 -05:00
tsconfig.json Big ole refactor to using nestjs for some practice 2023-05-26 15:43:14 -05:00

autobaan

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

So I don't forget... I am using GHA to create a container image which I pull on my server using podman. This then restarts the container on my server with the latest image. The container is backed by a systemd service to restart and start on boot.