A project by Das Quadrumvirat. Initially created during VISCON 2022.
An app to list, browse and interact with cocktail and drink recipies.
Using data from The Cocktail DB
Available online at cocktailcoach.vypxl.io.
You will need Docker
, nodejs >= 16
and pnpm
, python 3
and the pip packages python-slugify
, python-dotenv
installed.
To fire up a local development environment, follow these steps:
.env
file and set POSTGRES_PASSWORD
and MEILIKEY
to some values and set a postgres and meili database url, e. g.POSTGRES_PASSWORD=securepw
DATABASE_URL="postgresql://cocktailcoach:securepw@localhost:5432/db?schema=public"
MEILIKEY=securekey
MEILIURL=http://localhost:7700
docker compose -f docker-compose-dev.yml up -d
to start up the databasespnpm i --shamefully-hoist
to install the packagespnpm prisma migrate dev
and pnpm prisma generate
to generate set up the postgres db./data/insert_data.py
curl -X POST "$MEILIURL/keys" -H "Authorization: Bearer $MEILIKEY" -H "Content-Type: application/json" --data-binary '{"actions": ["*"], "indexes": ["*"], "expiresAt": null}'
.env
as MEILI_SEARCH_KEY
pnpm run dev
to start the dev server