NextFaster  by ethanniser

E-commerce template using Next.js for high performance

created 9 months ago
4,389 stars

Top 11.4% on sourcepulse

GitHubView on GitHub
Project Summary

NextFaster is a high-performance e-commerce template built with Next.js 15, targeting developers and businesses seeking a fast, AI-powered online store. It leverages modern Next.js features like Server Actions and Partial Prerendering for efficient data handling and static serving, aiming to deliver a rapid user experience.

How It Works

The template utilizes Partial Prerendering to serve static page shells from the edge, with dynamic data, such as cart information, streamed in. Server Actions handle all data mutations. Drizzle ORM is used with Neon Postgres for database operations, and Vercel Blob stores images. AI, specifically OpenAI's gpt-4o-mini and GetImg.ai (Stable Diffusion v1.5), generates product categories, names, descriptions, and images, enabling rapid content creation.

Quick Start & Requirements

  • Install: pnpm install && pnpm dev
  • Prerequisites: Vercel CLI (vc), Node.js (implied by pnpm), PostgreSQL database (Neon recommended), Vercel Blob Storage.
  • Data: Includes a data.zip with a ~300MB data.sql file for 1M+ products. Requires manual seeding via psql if exceeding Neon free tier limits.
  • Links: Vercel AI SDK, v0

Highlighted Details

  • Achieved ~1 million page views with 45k unique users and over 1 million unique product pages within a month.
  • AI-generated content for product categories, names, descriptions, and images.
  • Utilizes Partial Prerendering and Server Actions for enhanced performance.
  • Demonstrates Vercel platform features for compute, caching, and image optimization.

Maintenance & Community

  • Developed by @ethanniser, @RhysSullivan, and @armans-code.
  • Project costs for hosting and compute were covered by Vercel.

Licensing & Compatibility

  • The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is undetermined.

Limitations & Caveats

The provided data exceeds the free tier limits for Neon on Vercel, requiring manual database setup and seeding. The project's hosting costs ($513.12 for the reported period) were covered by Vercel and may not reflect typical operational expenses for a self-funded project. The license is not specified, which may impact commercial adoption.

Health Check
Last commit

5 months ago

Responsiveness

1 week

Pull Requests (30d)
1
Issues (30d)
0
Star History
236 stars in the last 90 days

Explore Similar Projects

Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
1 more.

NeumAI by NeumTry

0%
858
Data platform for retrieval-augmented generation (RAG)
created 1 year ago
updated 1 year ago
Feedback? Help us improve.