A RESTful service that manages and queries event data based on a user's geographical location and a specified date. Built for GyanGrove
cold start may take a minute
Javascript, Bun, Express.js, PostgreSQL, Docker, Azure, Swagger
For more details, see tech-stack.
Install bun if not installed:
curl -fsSL https://bun.sh/install | bash # MacOS/Linux
powershell -c "irm bun.sh/install.ps1 | iex" # Windows
Create a .env
file:
cp .env.example .env # Substitute your values in .env
bun install
bun dev
bun install --production --frozen-lockfile
bun start
To start the application:
docker run -d -p 3000:3000 --env-file .env --name events ghcr.io/parnavh/event-management-system
# OR using docker compose:
docker compose up -d
To shut down your application:
docker stop events
docker rm events # optionally remove the container
# OR using docker compose:
docker compose down
To view your application's logs:
docker logs events
# OR using docker compose:
docker compose logs