This is the official API for the Xaverian ACM Student Chapter. It provides endpoints for managing entities related to the chapter’s website, such as members, users, activities, and authentication.
You can explore the available endpoints using the Swagger interface:
GET /swagger
Open it in your browser at:
http://localhost:<PORT>/swagger
bun install
bun run dev
The API will be available at:
http://localhost:<PORT>
docker build -t acm-api .
docker run --env-file .env -p <PORT>:<PORT> acm-api
curl http://localhost:<PORT>/ping
This Dockerfile uses a multi-stage build with Bun and a Distroless image for production.
- Installs dependencies with Bun.
- Runs automated tests during build.
- Compiles the app to a single executable using Bun.
- Produces a lightweight, secure image with no shell or unnecessary packages.
- Bun – Fast JavaScript runtime
- Elysia.js – Web framework
- Swagger – API documentation
- Docker + Distroless – Minimal and secure production containers