Online ordering platform
LiveTheSlice
A pizza ordering system: a customer storefront, an admin dashboard and an API that takes online payments and sends paid orders to the restaurant's till.
Built with
- Next.js
- React
- TypeScript
- NestJS
- PostgreSQL
- Prisma
- Redis
- PayU
- Docker
- GitHub Actions
What it is
TheSlice lets customers browse the menu, build an order and pay online. Staff manage orders and the menu from a separate admin dashboard.
It is live at theslice.pl.
What I built
A server-rendered storefront in Next.js with a cart that works without an account.
An admin dashboard for order and inventory management, behind authentication.
A NestJS API on PostgreSQL with a typed client generated from its OpenAPI specification, so the frontends and the backend cannot drift apart.
Online payments through PayU, and a point-of-sale integration that pushes paid orders to the restaurant's till.
How it runs
Everything ships as Docker images to a self-managed server behind nginx.
Each change is linted, type-checked and tested in CI before an image is built. Deployments are a deliberate manual step, apply database migrations first, wait for health checks and roll back automatically if the new version does not come up healthy.