Full-stack Next.js 14 application. Uses React 18 client & server components, TypeScript, Prisma ORM, Railway PostgreSQL database, NextAuth.js OAuth 2.0 authentication, OpenAI API GPT-3.5-Turbo, and Stripe payments.
This app is a showcase of the capabilities of Next.js 14. It features a live demo and is a work in progress. The app includes a variety of features such as new Next.js 14 capabilities, data fetching, caching, and mutators, API routes, social media feed with likes and comments, OAuth 2.0 authentication, ORM using Prisma, PostgreSQL database on Supabase, UI components built using NextUI v2.0, and more. It is written in TypeScript and supports payments using Stripe.
Install dependencies:
npm install
Copy .env.example
to .env.local
and update variables.
Run the development server:
npm run dev
Open http://localhost:3000 in your browser to view the result.
Setup a PostgreSQL database, preferably using Supabase, and update the database URL in the .env.local
file under the DATABASE_URL
key.
Run the Prisma migrate script to initialize the schema.
This app built with Next.js 14 serves as a showcase of various features and capabilities for developers. It includes advanced functionalities like data fetching, mutations, API routes, authentication, ORM usage, database management, UI components, dark mode support, and payment processing. The app is a work in progress and provides a live demo for users to explore the Next.js 14 functionalities.