npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-zayed

v2.0.0

Published

CLI full-stack React + Vite + Express + SQLite generator

Downloads

675

Readme


react-zayed – Full‑Stack App Generator

react-zayed is a CLI tool that scaffolds a full‑stack React + Vite + Express + SQLite project using the BasicTemplate in template/.

Instead of shipping a component library, this repo focuses on giving you a batteries‑included starter with:

  • React + Vite frontend
  • Tailwind CSS
  • React Router
  • Context API (App + Auth)
  • Express backend
  • SQLite + Drizzle ORM

The template/ directory contains the actual app you’ll generate; it has its own README and docs/ folder with detailed usage.


🧰 CLI usage

From npm (recommended)

Once [email protected] is published, you can scaffold a new app with:

npx react-zayed my-app
cd my-app
npm run dev

This will:

  1. Copy the bundled template/ into ./my-app.
  2. Run npm install inside ./my-app.
  3. Start a full‑stack setup:
    • Frontend: React + Vite + Tailwind
    • Backend: Express + Drizzle + SQLite

Local dev (working on this repo)

From this repo root:

# Clone this repo (if you haven't already)
git clone https://github.com/Lambdacoder09/react-starter.git
cd react-starter

# Install CLI dependencies
npm install

# Create a new app in ./my-app using the bundled template
node bin/create-react-bundle.js my-app

Then inside the generated app:

cd my-app
npm run dev

Inside the generated app you’ll find:

  • A full‑stack template (frontend + backend + SQLite).
  • README.md and docs/ with per‑part documentation.

If you publish this package to npm, you can also expose the CLI via the bin entry and run it as npx react-zayed my-app.


🧱 Template contents

The template/ folder is what gets scaffolded into a new project. High‑level:

template/
├── backend/   # Express + SQLite + Drizzle
├── frontend/  # Vite + React + Tailwind
├── docs/      # overview.md, frontend.md, backend.md, database.md
└── README.md  # Full‑stack template docs

See:

  • template/README.md – high‑level description + quickstart.
  • template/docs/overview.md – scripts and project map.
  • template/docs/frontend.md – pages, routes, context, styling.
  • template/docs/backend.md – API routes and middleware.
  • template/docs/database.md – SQLite + Drizzle details.

🧪 Testing this repo

For this CLI repo itself:

npm test

The test script currently runs a simple smoke check that require("./") works.


🚀 What’s new in 2.0.0

react-zayed 2.x is a breaking, CLI‑focused release:

  • Breaking: The package is now positioned as a CLI full‑stack app generator, not a reusable UI component library.
  • New: Bundled full‑stack template:
    • Frontend: React + Vite + Tailwind, React Router, Context API.
    • Backend: Express API (backend/server.ts).
    • Database: SQLite via better-sqlite3 + Drizzle (backend/db.ts, backend/drizzle/schema.ts).
  • New: One‑command dev workflow in the generated app:
    • npm run dev – runs backend and frontend together.
    • npm run dev:backend / npm run dev:frontend – run either side alone.
  • New: Detailed template docs:
    • template/docs/overview.md
    • template/docs/frontend.md
    • template/docs/backend.md
    • template/docs/database.md

🤝 Contributing

Contributions are welcome!

  1. Fork the repo.
  2. Create a feature branch: git checkout -b feat/my-feature.
  3. Make changes to the CLI and/or template.
  4. Run npm test and try generating a new app via the CLI.
  5. Open a pull request.

📝 License

This project is licensed under MIT — see the LICENSE file for details.