Documentation

Developement

Front and backend developement

prerequesites

  • npx
  • uv

Frontend dev

Start a frontend instance:

npx pnpm install
npx pnpm dev

Browse to http://localhost:3000

Backtend dev

Start a backend instance:

uv sync
uv run fastapi dev api-fashion/main.py

Browse to http://localhost:8000

Podman

You can start the backend as a docker/podman container:

podman run \
    -ti  \
    --rm \
    -p 8888:8888 \
    zkml-fashion-poc:latest

misc

Rationale of the last deployment:

  • gitlab because I have some CI/CD runners already setup and github sucks with quotas
  • frontend static deployment on gitlab pages because easier to setup than cloudflare and it works on private repo too
  • nuxtjs/vuejs for the frontend because I'm a noob in nextjs/react
  • backend deployment on scaleway serverless container because I don't want to use GAFAM/MAGA anymore