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

gbit-react

v1.0.0

Published

Gera projetos React + Node/Express + Prisma + Docker completos, com autenticação JWT pronta.

Readme


🌍 Vision

GBIT React was created to simplify the development of modern full stack applications.

Instead of starting from an empty project, developers choose the backend technology they prefer — Node.js/Express or Go/Fiber — and instantly receive a complete architecture with React, database integration, Docker, and real authentication already wired up.

The goal is to reduce setup time and provide a solid, working foundation — not a mockup — for startups, companies, and freelance developers.

📦 Pacote no NPM · 💻 Repositório no GitHub

✨ Features

Com um único comando, o gbit-react gera:

  • ⚛️ Frontend: React 19 + Vite + TypeScript, com um formulário de login/registro/dashboard já funcional
  • 🔌 Cliente HTTP configurado: Axios com renovação automática de token (refresh transparente quando o access token expira)
  • 🔐 Autenticação JWT real: registro, login, refresh e rota protegida de exemplo, com senha criptografada (bcrypt)
  • 🗄️ Banco de dados: PostgreSQL, já orquestrado via Docker Compose
  • 🐳 Docker pronto: docker compose up sobe backend + banco juntos

Você escolhe o backend na hora de gerar:

| Opção | Stack | |---|---| | Node.js (padrão) | Express + Prisma ORM | | Go | Fiber + GORM |

Os dois entregam exatamente os mesmos endpoints de autenticação (/api/auth/register, /login, /refresh, /me), então trocar de stack não muda como o frontend consome a API.

📦 Instalação

npx gbit-react

Ou, se preferir instalar globalmente:

npm install -g gbit-react
gbit-react

📁 Estrutura gerada

meu-projeto/
  frontend/              # React + Vite + TypeScript
  backend/                # Node+Express+Prisma OU Go+Fiber+GORM (sua escolha)
  docker-compose.yml         # orquestra backend + banco de dados juntos

⚛️ Frontend

  • React 19 + Vite + TypeScript
  • Axios (com interceptor de renovação de token)
  • Tela de login/registro/dashboard já funcional, pronta para você adaptar

🌐 Backend

Se escolher Node.js:

  • Express + Prisma ORM
  • Schema com model User pronto para expandir
  • Middleware de autenticação JWT reutilizável

Se escolher Go:

  • Fiber (framework web) + GORM (ORM)
  • Migração automática do model User
  • Mesma lógica de autenticação, no mesmo padrão do backend Node

Em ambos:

  • Rotas de register, login, refresh e me (protegida)
  • Senhas com hash (bcrypt)
  • Docker multi-stage para build enxuto

🚀 Como rodar o projeto gerado

cd meu-projeto
cp backend/.env.example backend/.env   # configure suas chaves
docker compose up --build              # sobe backend + banco de dados
cd frontend && npm run dev              # roda o frontend

🗺️ Roadmap

  • [x] React + Vite + TypeScript
  • [x] Backend Node.js (Express + Prisma)
  • [x] Backend Go (Fiber + GORM)
  • [x] Docker Compose (API + PostgreSQL)
  • [x] Autenticação JWT completa (register/login/refresh)
  • [ ] Documentação de API (Swagger)
  • [ ] Upload de arquivos
  • [ ] Camada de validação dedicada (ex: Zod/Joi)
  • [ ] Redis
  • [ ] WebSockets
  • [ ] Provedores de autenticação externos (Google, GitHub)
  • [ ] Módulo de pagamentos

🎯 Objetivo

Criar aplicações full stack funcionais em poucos minutos, com autenticação de verdade — não um mockup — como ponto de partida real para:

  • Startups e empresas
  • Projetos acadêmicos
  • Freelancers
  • MVPs e provas de conceito

🤝 Ecossistema Gbit

| Ferramenta | Descrição | |---|---| | gbit-next | Projetos Next.js com templates prontos | | gbit-start | Abre ou clona qualquer projeto existente | | gbit-readme | Gera README profissional automaticamente | | gbit-address | Gera pares de chaves para testes Web3 | | gbit-react | Este CLI — projetos full stack React |

📄 Licença

MIT © Gislaine Cristina Lopes Fernandes