nextjs14-app  by yaseenmustapha

Full-stack app showcasing Next.js 14 capabilities

created 2 years ago
323 stars

Top 85.3% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a full-stack Next.js 14 application demonstrating advanced features like React 18 server and client components, integrated authentication, AI-powered content enhancement, and payment processing. It targets developers looking to explore and implement modern web development patterns with Next.js.

How It Works

The application leverages Next.js 14's new /app directory for routing, layouts, and nested routing. It utilizes React 18's server and client components for efficient data fetching, caching, and mutations. Features include a social media feed with a profanity filter, OpenAI GPT-3.5-Turbo for post enhancement, NextAuth.js for OAuth 2.0 authentication (Google, GitHub, Discord), Prisma ORM with a PostgreSQL database, NextUI v2.0 for UI components, Tailwind CSS for styling, and Stripe for payments.

Quick Start & Requirements

  • Install dependencies: npm install
  • Configure environment variables: Copy .env.example to .env.local and fill in necessary keys.
  • Run development server: npm run dev
  • Database setup: Requires a PostgreSQL database (Supabase recommended). Set DATABASE_URL in .env.local.
  • Initialize schema: npm run migrate:dev
  • Prerequisites: Node.js, npm, PostgreSQL database.

Highlighted Details

  • Full stack Next.js 14 with App Router, Server/Client Components.
  • OpenAI GPT-3.5-Turbo integration for social media post enhancement.
  • NextAuth.js for Google, GitHub, and Discord OAuth 2.0 authentication.
  • Stripe integration for payment processing.
  • Prisma ORM and NextUI v2.0 components.

Maintenance & Community

The project is maintained by yaseenmustapha. No specific community channels or roadmap details are provided in the README.

Licensing & Compatibility

Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). This is a strong copyleft license, requiring derivative works to also be open-sourced under AGPL-3.0. Commercial use or linking with closed-source applications may be restricted due to the copyleft nature of the license.

Limitations & Caveats

The README explicitly states the app is a work in progress and the site may be unstable. It is a showcase application, implying it may not be production-ready without further development and hardening.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

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

Explore Similar Projects

Feedback? Help us improve.