Quick Open Commerce (QCO) is a modern, lightweight ecommerce template built with Next.js. Designed for developers, it offers a fast, scalable, and customizable foundation for building online stores without complex backend overhead.
- Core: Next.js 15.3 + React 19.1 + TypeScript 5.8
- UI: Tailwind CSS 4.1 + Shadcn/UI
- Auth: Better Auth
- Animations: Framer Motion
- Storage: AWS S3 via AWS SDK
- Analytics: Vercel Analytics
- DB: Drizzle ORM + NeonDB
- DX: ESLint + Biome + Knip
- Forms: React Hook Form
- Tables: TanStack Table
- i18n: next-intl (w.i.p)
- Email: Resend
- API: tRPC
This stack defines QCO‚ core. For an alternative setup with Clerk, Stripe, and GraphQL, explore QCO Plus.
-
Run:
git clone https://github.com/qco-me/quick-open-commerce.git cd quick-open-commerce bun install cp .env.example .env
-
Configure the required environment variables in the
.env
file (see Environment Variables). -
Optionally, customize
src/config/app.ts
to personalize your store. -
Run:
bun db:push # Apply database schema bun dev # Start development server bun build # Build for production
-
Edit the code manually or use AI tools to assist.
-
Done! Your store is ready to grow.
Command | Description |
---|---|
bun dev |
Start local development |
bun build |
Create a production build |
bun latest |
Update dependencies |
bun ui |
Add Shadcn/UI components |
bun db:push |
Apply database schema changes |
bun db:studio |
Open Drizzle Studio |
Key variables for .env
:
# NeonDB
DATABASE_URL="postgresql://user:password@neon-host/dbname"
# AWS S3
AWS_ACCESS_KEY_ID="your_access_key"
AWS_SECRET_ACCESS_KEY="your_secret_key"
AWS_S3_BUCKET="your_bucket_name"
AWS_REGION="your_region"
# Resend
RESEND_API_KEY="re_xxxxxxxxxxxxxxxx"
# Better Auth
BETTER_AUTH_SECRET="your_random_secret"
BETTER_AUTH_URL="http://localhost:3000"
- QCO 1.0.0+ is optimized for AI-assisted development with tools like Cursor or GitHub Copilot.
- AWS S3 handles file storage (e.g., product images) via the AWS SDK.
- NeonDB with Drizzle ORM provides a serverless PostgreSQL experience.
- Resend manages transactional emails (e.g., order confirmations).
- tRPC ensures type-safe API routes for seamless frontend-backend communication.
- Better Auth offers a flexible and secure authentication solution.
- React Hook Form provides robust form handling for user inputs.
- Auto-save functionality for checkout forms prevents data loss during order completion.
- For an alternative stack with Clerk, Stripe, and GraphQL, check QCO Plus (demo, docs).
- Star the repo to grow the QCO community.
- Follow the QCO team for updates.
- Sponsor us to support intuitive ecommerce tools.
Your support fuels tools that make ecommerce development effortless.
MIT В© 2025 QCO Team