1.1.2 • Published 5 months ago

create-quickbase v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

QuickBase - Hono + Prisma + Zod Backend Template

A modern TypeScript backend template using Hono.js for routing, Prisma for database operations, and Zod for validation.

Setup

npx create-quickbase

Project Structure

src/
├── index.ts             # Entry point
├── routes/
│   └── v1.ts            # API routes for version 1
├── controllers/         # Logic for routes
│   └── [controller].ts  # Controller classes
├── middleware/          # Custom middleware
│  └── userAuth.ts       # User authentication middleware
└── prisma/
    └── schema.prisma    # Prisma schema

Best Practices

  1. Always validate request data using Zod schemas
  2. Keep controllers focused on business logic
  3. Use Prisma for all database operations
  4. Maintain API versioning for backwards compatibility
  5. Write clear error messages and use proper status codes
1.1.1

5 months ago

1.1.0

5 months ago

1.1.2

5 months ago

1.0.7

5 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago