svelte-pizzeria

Svelte Pizzeria

Svelte-Kit pizza ordering with auth & admin dashboard with Runes, only form actions

Pizzeria

Live

Svelte 5 with form actions & Runes. 0 API routes.

Introduction

Pizzeria is a SvelteKit app that allows users to order their favorite dishes. The app also includes an in-depth admin panel for the restaurant owners to manage their orders, dishes and users. The app is made with 0 API routes and only uses form actions and the new Svelte runes.

Tech Stack

  • SvelteKit
  • PostgreSQL
  • AWS S3 Bucket
  • TailwindCSS
  • Typescript & Zod
  • Drizzle

Features

  • Customize Profile

Users can edit their profile and upload a profile picture.

  • Admin Dashboard

Admins have a dashboard which they can add/edit or remove dishes,users and check their orders. Currently, there is no way for you to test this so I added some images of the admin panel at the end. Maybe I can add a demo account with fake_admin privileges in the future.

  • Writing Pure SQL with Drizzle

While Drizzle has its own ORM, I decided to write my own SQL queries for the project to have a better understanding of the database and to have more control over the queries.

  • AWS S3 Bucket

Both the profile pictures and the dish pictures are stored in an S3 bucket.

  • JWT Authentication

Images

Categories

Products

Edit Product

User Management

Top categories

Loading Svelte Themes