• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Sydneytonye

Sydneytonye

QUEEN

Public
Like
QUEEN
Home
Code
2
shared
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
6/2/2025
Viewing readonly version of main branch: v2
View latest version
README.md

Pastry Ordering Website

A simple website where customers can browse and order pastries online.

Features

  • Browse pastry menu with images and descriptions
  • Add items to cart with quantity selection
  • Customer information form
  • Order submission and confirmation
  • Order management backend

Project Structure

  • frontend/ - Customer-facing ordering interface
  • backend/ - API endpoints and order management
  • shared/ - Common types and utilities

Getting Started

The main entry point is backend/index.ts which serves both the API and frontend files.

Database

Uses SQLite to store customer orders with the following schema:

  • Orders table with customer info and order details
  • JSON storage for order items

API Endpoints

  • GET / - Serves the main ordering page
  • POST /api/orders - Submit a new order
  • GET /api/orders - Get all orders (admin)
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2026 Val Town, Inc.