Shopping List

A self-hostable, realtime shopping list.

Installation

Docker Compose

services:
  shopping-list:
    image: mschuepbach/shopping-list
    container_name: shopping-list
    restart: unless-stopped
    ports:
      - 3000:3000
    environment:
      - PORT=3000
      - ORIGIN=https://example.com
      - ADMIN_USERNAME=admin
      - ADMIN_PASSWORD=adminpassword
      - DB_URL=postgresql://postgres:postgrespassword@shopping-list-db:5432
    depends_on:
      - shopping-list-db

  shopping-list-db:
    image: postgres:15-alpine
    container_name: shopping-list-db
    restart: unless-stopped
    environment:
      - POSTGRES_PASSWORD=postgrespassword

Developing

Prerequesites

Get Started

  1. Copy-paste .env.example and rename it to .env
  2. Edit the values in .env
  3. Install dependencies with pnpm install
  4. Start the development server with pnpm dev

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes