Skip to content

smart-developer1791/qwik-readyline-waitlist-console

Repository files navigation

✦ Readyline

Minimal Qwik waitlist console with optimistic local outbox state

Qwik Qwik City Tailwind CSS Netlify License: MIT

Readyline is a compact Qwik pet project for a fictional waitlist desk. The page renders as static HTML first, while waitlist tickets appear immediately, sync after the UI responds, and remain retryable if the mock sync fails.


✨ Highlights

  • Static-first Qwik City project with the Qwik static adapter, not Netlify Edge
  • Distinct paper-queue composition with a vertical rail, access slip, latest ticket, and outbox tape
  • Optimistic waitlist tickets that appear before mock sync confirmation
  • Retryable failed tickets, local outbox logs, and browser persistence
  • Name, email, role, team size, and note controls without any external state library
  • Tailwind CSS 4 with a tactile paper-and-ink visual palette

❓ Why Qwik

This project shows Qwik as a better fit for static pages that still need meaningful interaction:

  • The waitlist story is useful as static HTML
  • Form handlers wake only after user interaction
  • The waitlist ticket appears immediately
  • Failed optimistic work stays visible and retryable

🛠️ Tech Stack

Layer Technology
Framework Qwik 1.19
Routing Qwik City
Styling Tailwind CSS 4 + custom CSS tokens
State Qwik useStore and optimistic local mutations
Persistence localStorage
Deployment Static output for Netlify

🗂️ Project Structure

qwik-readyline-waitlist-console/
├── adapters/
│   └── static/
│       └── vite.config.ts
├── public/
│   ├── favicon.svg
│   └── manifest.json
├── src/
│   ├── lib/
│   │   └── readyline.ts
│   ├── routes/
│   │   └── index.tsx
│   ├── global.css
│   └── root.tsx
├── netlify.toml
├── package.json
└── README.md

🚀 Local Development

📦 Install

npm install

▶️ Run

npm run dev

The dev script binds to 0.0.0.0 for dev containers.

🏗️ Build

npm run build

🔍 Preview

npm run preview

🌐 Deployment

🌍 Netlify (Recommended)

  1. Push your code to GitHub
  2. Connect repository to Netlify
  3. Build settings are auto-configured via netlify.toml
  4. Deploy

⚠️ Node and Undici Note

Qwik City uses undici during build and preview work. undici tracks modern Node Web API support closely, so newer undici releases can require newer Node versions. If this project keeps undici floating with "undici": "*", keep Netlify and CI on a fresh Node version; newer Node is the safer default. The included netlify.toml sets the build runtime explicitly for that reason.

Deploy to Netlify


📄 License

MIT License. See LICENSE.

About

✦ Minimal Qwik waitlist console with optimistic tickets, retryable local state, Tailwind CSS 4, and static Netlify deployment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors