Skip to content

A web app that allows door attendants at TLTH pubs to register participants using a counter. The information is updated in real-time, allowing others to see how many people are at each pub during the pub crawl.

License

Notifications You must be signed in to change notification settings

Dsek-LTH/pubcrawl

Repository files navigation

Pubcrawl logo

Pubcrawl

Bar occupancy tracker
pubcrawl.dsek.se

builtwith svelte daisy typescript drizzle zod graphql

using node pnpm docker apollo

About

A web app that allows door attendants at TLTH pubs to register participants. The information is updated in real-time, allowing visitors to see how many people are at each pub during the pub crawl.

Development Guide

Prerequisites

Ensure you have the following installed:

  • Node – JavaScript runtime required for development.
  • pnpm – Package manager.
  • Docker – For containerized environments.

Setup

  1. Clone, or fork, this repo.

  2. Run pnpm install, in the project root, to install dependencies.

  3. Copy the .env.example file to .env and fill in the required environment variables.

  4. Run setup-dev.sh to set up the development environment. This will setup docker containers for the database and Redis, and run migrations to set up the database schema.

  5. Navigate to the apps/db directory and run pnpm run dev to start the Apollo GraphQL server.

  6. Navigate to the apps/web directory and run pnpm run dev to start the web server.

Running

To run the application, ensure you have the Postgres and Redis containers running. Then, start the Apollo server and the web server, as described in the setup section above.

Useful Commands

View the package.json files in respective directories for all available scripts.

Note: always run pnpm commands in the respective directories.

About

A web app that allows door attendants at TLTH pubs to register participants using a counter. The information is updated in real-time, allowing others to see how many people are at each pub during the pub crawl.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6