Skip to content

phartenfeller/sveltekit-1.0-sqlite-demo-app

Repository files navigation

Svelte Kit 1.0 + SQLite Demo App

Code from following YouTube tutorials:

Full Playlist: SvelteKit

Run locally

  • Install with yarn or npm yarn install or npm install
    • You might need to delete supportedArchitectures in the .yarnrc.yml file if you are not on an M1 Mac
  • Start with yarn dev or npm run dev
  • Username and Password for login is philipp

Docker

Build and Run App

Build Container:

docker build -t sveltekit-sqlite-img .

Run Container:

docker run -d -p 3000:3000 \
  --mount type=bind,source="$(pwd)"/data/,target=/app/data/ \
  --rm --name sveltekit-sqlite \
  sveltekit-sqlite-img

MailCrab

docker run --rm -p 1080:1080 -p 1025:1025 marlonb/mailcrab:latest

More info: https://github.com/tweedegolf/mailcrab