CocktailYourBar API
CocktailYourBar API
CocktailYourBar API is de backend van Cocktail Your Bar. De API verzorgt authenticatie, data-opslag en alle business logic rondom cocktails, ingrediënten en de persoonlijke bar-inventory per gebruiker. Op basis van de ingrediënten die je in huis hebt berekent de API welke cocktails je kunt maken en welke ingrediënten nog ontbreken. De API is gedocumenteerd met Swagger en is containerized voor deployment.
Highlights
- JWT authentication (Bearer token) voor protected routes
- NestJS + TypeScript backend
- Prisma + PostgreSQL voor data persistence
- CRUD voor ingredients en cocktails
- Bar inventory per user (incl. bulk replace)
- Can-make endpoints: welke cocktails zijn maakbaar + welke ingrediënten ontbreken
- Swagger docs beschikbaar op
GET /docs
Tech stack
- NestJS, TypeScript
- Prisma ORM, PostgreSQL
- Passport-JWT, bcrypt
- Swagger / OpenAPI
- Docker / Coolify
Links
- Live: https://cocktailyourbar.com
- GitHub: private repository (available on request)