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

create-volo-app-temp

v0.0.2

Published

CLI tool to create a new Volo app with Firebase Auth, Postgres, and Cloudflare deployment

Downloads

30

Readme

create-volo-app

CLI tool to create a new full-stack Volo app with Firebase Auth, Neon DB, and Cloudflare deployment.

Quick Start

npx create-volo-app my-app
cd my-app
pnpm run dev:start

What you get

The CLI creates a production-ready full-stack application with:

Frontend:

  • ⚛️ React with TypeScript
  • ⚡ Vite for fast development
  • 🎨 Tailwind CSS for styling
  • 🧩 ShadCN/UI components
  • 🔐 Firebase Authentication (Google Sign-In)

Backend:

  • 🔥 Hono web framework
  • ☁️ Cloudflare Workers for edge deployment
  • 🗄️ PostgreSQL with Drizzle ORM
  • 🔑 Firebase Admin SDK for auth verification

Infrastructure:

  • 🌐 Cloudflare Pages for frontend hosting
  • ⚡ Cloudflare Workers for API hosting
  • 🗄️ Neon (or other) PostgreSQL database
  • 🔐 Firebase Authentication

Features

  • Comprehensive setup: Handles all service configuration automatically
  • Prerequisites checking: Validates required tools and guides installation
  • Service integration: Creates Firebase projects, configures databases, sets up Cloudflare
  • Error handling: Helpful error messages and recovery suggestions
  • Educational: Explains each step and provides learning resources

Requirements

  • Node.js 18+
  • pnpm 8+
  • Git
  • Firebase CLI

The CLI will check for these and guide you through installation if needed.

Usage

Basic usage

npx create-volo-app my-app

Advanced options

npx create-volo-app my-app --template https://github.com/custom/template.git
npx create-volo-app my-app --skip-prereqs --verbose

Options

  • --template <url>: Use a custom template repository (default: official volo-app template)
  • --skip-prereqs: Skip prerequisite checks (not recommended)
  • --verbose: Enable detailed logging

What the CLI does

  1. Prerequisites Check: Validates Node.js, pnpm, Git, Firebase CLI
  2. Template Cloning: Downloads the latest volo-app template
  3. Service Setup:
    • Firebase: Creates project, enables auth, configures web app
    • Database: Sets up Neon, Supabase, or custom PostgreSQL
    • Cloudflare: Configures Worker name and deployment settings
  4. Configuration: Generates all config files with real values
  5. Post-setup: Installs dependencies, deploys database schema
  6. Ready to code: pnpm run dev:start launches your app

Supported Services

Authentication

  • Firebase Authentication (Google Sign-In preconfigured)

Database

  • Neon (Recommended - Serverless PostgreSQL)
  • Supabase (PostgreSQL + additional features)
  • Custom PostgreSQL (any provider with connection string)

Deployment

  • Cloudflare Workers (Backend API)
  • Cloudflare Pages (Frontend hosting)

Deployment

Your Volo app is designed for deployment on Cloudflare's platform, providing global edge performance and seamless integration between your frontend and backend.

Prerequisites

Before deploying, ensure you have:

  • ✅ Completed the initial setup with create-volo-app
  • ✅ Tested your app locally with pnpm run dev:start
  • ✅ Committed your code to a Git repository (for frontend deployment)

Backend Deployment (Cloudflare Workers)

Your Hono API will be deployed to Cloudflare Workers for global edge performance.

1. Authenticate with Cloudflare (if not done during setup)

cd server
wrangler login

2. Deploy your API

cd server
pnpm run deploy

This will:

  • Deploy your Hono API to Cloudflare Workers
  • Use the worker name configured during setup
  • Make your API available at https://your-worker-name.your-subdomain.workers.dev

3. Configure production environment variables

After deployment, set your production environment variables in the Cloudflare dashboard:

  1. Go to Cloudflare Workers Dashboard
  2. Select your worker
  3. Go to Settings > Variables
  4. Add your production variables:
    • DATABASE_URL: Your production database connection string
    • FIREBASE_PROJECT_ID: Your Firebase project ID
    • FIREBASE_PRIVATE_KEY: Your Firebase service account private key
    • FIREBASE_CLIENT_EMAIL: Your Firebase service account email

Frontend Deployment (Cloudflare Pages)

Your React frontend will be deployed to Cloudflare Pages with automatic deployments on every Git push.

1. Connect your repository to Cloudflare Pages

  1. Go to Cloudflare Pages Dashboard
  2. Click "Create a project"
  3. Connect your Git provider (GitHub, GitLab, etc.)
  4. Select your repository

2. Configure build settings

Set the following build configuration:

  • Build command: pnpm run build
  • Build output directory: ui/dist
  • Root directory: / (leave empty)

3. Configure environment variables (if needed)

Add any frontend environment variables in the Pages dashboard:

  • Go to your Pages project > Settings > Environment variables
  • Add variables like VITE_API_URL if you need to override the default

4. Deploy

  • Automatic: Push to your main branch to trigger deployment
  • Manual: Click "Create deployment" in the Pages dashboard

Quick Deploy Commands

For convenience, your project includes these npm scripts:

# Deploy backend only
cd server && pnpm run deploy

Post-Deployment Checklist

After deploying both frontend and backend:

  1. Test your deployed API:

    curl https://your-worker-name.your-subdomain.workers.dev/health
  2. Update Firebase authorized domains:

    • Go to Firebase Console
    • Navigate to Authentication > Settings > Authorized domains
    • Add your Pages domain (e.g., your-app.pages.dev)
  3. Test authentication flow:

    • Visit your deployed frontend
    • Try signing in with Google
    • Verify API calls work correctly
  4. Monitor your deployments:

Troubleshooting Deployment

Backend Issues:

  • Check worker logs in the Cloudflare dashboard
  • Verify environment variables are set correctly
  • Ensure database is accessible from Cloudflare Workers

Frontend Issues:

  • Check build logs in Pages dashboard
  • Verify build command and output directory
  • Check browser console for API connection errors

Authentication Issues:

  • Verify Firebase authorized domains include your deployed domain
  • Check Firebase configuration in your frontend
  • Ensure CORS is properly configured in your API

Custom Domains

To use your own domain:

  1. For frontend (Pages):

    • Go to Pages project > Custom domains
    • Add your domain and follow DNS instructions
  2. For backend (Workers):

    • Go to Workers dashboard > your worker > Triggers
    • Add a custom domain route

For more detailed deployment guides, visit:

Development

# Clone this repository
git clone https://github.com/VoloBuilds/create-volo-app.git
cd create-volo-app

# Install dependencies
pnpm install

# Build the CLI
pnpm run build

# Test locally
node bin/cli.js test-app

# Run in development mode
pnpm dev test-app

Template Requirements

Custom templates must include:

  • package.json with template.placeholders configuration
  • Template files with {{PLACEHOLDER}} markers
  • scripts/post-setup.js for post-installation tasks

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT

Support