This project is a recipe management system for a Uni module on Distributed Systems. It allows users to create, read, update, and delete recipes, which can in turn utilise RabbitMQ to queue messages to a second microservice that will call an API to generate an AI image for that recipe.
- Node 20
- Python 3
- Docker
- Supabase account and projects
- HuggingFace account
-
Clone the repository
-
Install the dependencies
pnpm install
-
Duplicate the
.env-example
in each of the services folders, rename to.env
and add the service credentials -
Create and active the python virtual env in the
autoscaler
folderpython -m venv venv && source venv/bin/activate
-
Install the python dependencies
pip install -r requirements.txt
-
Run the start command to start the docker compose stack and autoscaler service
pnpm run start
-
The frontend will be running at
http://localhost
.