Automatic court reservations
Find a file
dependabot[bot] 3e569bd278
Bump express, @nestjs/core, @nestjs/platform-express, @nestjs/typeorm and @nestjs/testing
Bumps [express](https://github.com/expressjs/express) to 4.19.2 and updates ancestor dependencies [express](https://github.com/expressjs/express), [@nestjs/core](https://github.com/nestjs/nest/tree/HEAD/packages/core), [@nestjs/platform-express](https://github.com/nestjs/nest/tree/HEAD/packages/platform-express), [@nestjs/typeorm](https://github.com/nestjs/typeorm) and [@nestjs/testing](https://github.com/nestjs/nest/tree/HEAD/packages/testing). These dependencies need to be updated together.


Updates `express` from 4.18.2 to 4.19.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

Updates `@nestjs/core` from 9.4.2 to 10.3.7
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v10.3.7/packages/core)

Updates `@nestjs/platform-express` from 9.4.2 to 10.3.7
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v10.3.7/packages/platform-express)

Updates `@nestjs/typeorm` from 9.0.1 to 10.0.2
- [Release notes](https://github.com/nestjs/typeorm/releases)
- [Changelog](https://github.com/nestjs/typeorm/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/typeorm/compare/9.0.1...10.0.2)

Updates `@nestjs/testing` from 9.4.2 to 10.3.7
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v10.3.7/packages/testing)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
- dependency-name: "@nestjs/platform-express"
  dependency-type: direct:production
- dependency-name: "@nestjs/typeorm"
  dependency-type: direct:production
- dependency-name: "@nestjs/testing"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 16:58:16 +00:00
.github/workflows Adding some good-ole unit tests to CI 2024-03-28 17:57:16 +01:00
database/migrations Fixing monitors and migrating them to use strings instead of blobs 2024-03-26 14:05:33 +01:00
docker Another reorganization of docker layers 2024-03-14 15:40:08 +01:00
src Adding some good-ole unit tests to CI 2024-03-28 17:57:16 +01:00
test Adding some good-ole unit tests to CI 2024-03-28 17:57:16 +01: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 express, @nestjs/core, @nestjs/platform-express, @nestjs/typeorm and @nestjs/testing 2024-03-28 16:58:16 +00:00
package.json Bump express, @nestjs/core, @nestjs/platform-express, @nestjs/typeorm and @nestjs/testing 2024-03-28 16:58:16 +00: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 Removing baseUrl from tsconfig 2024-03-12 13:01:41 +01: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.