Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 762 Bytes

File metadata and controls

49 lines (34 loc) · 762 Bytes

Cook Service

Build the application

$ make build

Database

Start the PostgreSQL service:

$ docker compose up -d postgresql

Apply database migrations:

$ ./build/cook migrate

Follow the instructions to prepare the dataset for the demo.

Import recipes and ingredients to PostgreSQL:

$ ./build/cook import-recipes --input ../../dataset/recipes.out.json

Generate 100 restaurants and their respective menus:

$ ./build/cook create-restaurants --number 100

Inspect PostgreSQL data:

$ make psql

Dump the restaurant database:

$ make pgdump

Reference

Database Entity Relation Diagram