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-reactgo-app

v3.0.0

Published

A CLI to bootstrap a React + Go project

Readme

🚀 create-reactgo-app

A powerful, developer-first CLI to bootstrap production-ready, fullstack React + Go applications in seconds.

npm version npm downloads license PRs Welcome


✨ Overview

create-reactgo-app helps you skip repetitive boilerplate and configuration. It instantly provisions a scalable, container-friendly, fullstack ecosystem featuring:

  • ⚛️ Modern React Frontend (Vite, React 19, TypeScript, TailwindCSS v4)
  • 🐹 High-Performance Go Backend (Gin Gonic Web Framework, CORS Pre-configured)
  • 🐳 Containerization Ready (Docker Compose with Air Hot-Reloading for Go & Vite HMR for React)
  • 📂 Clean Project Structure follows industry best-practices

🤔 Why This Exists

Setting up a fullstack project with React + Go sounds simple… until you actually do it.

Every time you build a new app, you repeat the same ritual:

  1. Create separate folders for frontend and backend.
  2. Initialize React, Vite, TypeScript, and install UI dependencies.
  3. Configure TailwindCSS (and resolve version-specific configuration issues).
  4. Set up a Go server, install Gin, configure CORS, and map routes.
  5. Create .gitignore, configure Dockerfiles, and compose configurations for development and production.

By the time you're done, you've spent 30–60 minutes copy-pasting code and resolving setup friction, instead of writing your product's core logic.

create-reactgo-app was built to eliminate that friction:

Run one command and start building immediately.


📦 Quick Start

No global installation is required. Run the CLI directly using npx:

npx create-reactgo-app my-app

Or initialize inside the current directory:

npx create-reactgo-app .

📂 Generated Project Structure

The generated boilerplate provides a clean separation of concerns:

my-app/
├── backend/
│   ├── controllers/      # Route controllers (handlers)
│   ├── routes/           # API routes configuration
│   ├── services/         # Business logic
│   ├── Dockerfile        # Production Docker configuration
│   ├── Dockerfile.dev    # Development Docker configuration (with Air)
│   ├── go.mod            # Go module definition
│   └── main.go           # Go application entrypoint
├── frontend-react/       # React frontend code
│   ├── public/           # Static assets
│   ├── src/              # React components & application state
│   ├── Dockerfile        # Production Nginx frontend build configuration
│   ├── Dockerfile.dev    # Development Vite server configuration
│   ├── package.json      # Node dependency layout
│   └── vite.config.ts    # Vite configurations
├── docker-compose.yml    # Development multi-container environment
└── README.md

🚀 Running Your Generated Project

Once the project is scaffolded, navigate to your new directory (cd my-app) and choose one of the running environments:

Method A: Docker Compose (Recommended)

Run the full stack with hot-reloading for both Go (using Air) and React (Vite HMR):

docker compose up --build

Method B: Manual Setup

If you prefer running the processes bare-metal:

1. Start Go Backend

cd backend
go mod tidy
go run main.go

2. Start React Frontend

cd frontend
npm install
npm run dev

🛠️ Features Breakdown

  • Interactive Setup Prompt: Customizes settings such as directory overwrites and optional Docker setup automatically.
  • Zero Configuration Docker Development: Development containers utilize Air for live Go builds and bind volumes to persist your local updates directly into the container.
  • Robust CORS Config: Gin server is pre-configured with CORS policies, allowing local React components (http://localhost:5173) to call API endpoints (http://localhost:8080) out of the box.
  • Tailwind v4 & React 19: Ships with the latest versions of frontend libraries pre-packaged.

🤝 Contributing

Contributions make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Please refer to the Contributing Guide (CONTRIBUTING.md) for detailed instructions on:

  1. Setting up the repository locally.
  2. Running the CLI tool for local testing.
  3. Making changes to template files.
  4. Formatting and pull request standards.

📜 License

Distributed under the MIT License. See LICENSE for more information.


👨‍💻 Author

Built with ❤️ by Akdev