yaseenmustapha/nextjs14-app
Tentang
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.
Pengembangan web dan aplikasiYang dapat Anda lakukan
- Using new Next.js 14
- Routing, Layouts, Nested Layouts and Layout Groups
- Data Fetching, Caching and Mutation
- Uses client and server components from React 18
Pertumbuhan bintang terukur
- dalam 24 jam
- +1
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- -1
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliThis is an app built to showcase the capabilities of Next.js 14.
Live demo is up at nextjs14-showcase.vercel.app
Warning This app is a work in progress. Site may be unstable.
| Home Page (Desktop) | Social Media Feed (Mobile) |
|---|---|
Features
- Using new Next.js 14
- New
/appdir, - Routing, Layouts, Nested Layouts and Layout Groups
- Data Fetching, Caching and Mutation
- Uses client and server components from React 18
- API Routes
- Live social media feed with likes, comments, and profanity filter
- Enhance social media posts using OpenAI API with GPT-3.5-Turbo model
- OAuth 2.0 Authentication through Google, GitHub, and Discord using NextAuth.js
- ORM using Prisma
- PostgreSQL Database on Supabase
- UI Components built using NextUI v2.0
- Styled using Tailwind CSS
- Dark mode using next-themes
- Payments using Stripe
- Written in TypeScript
Run locally
- Install dependencies
npm install
- Copy
.env.exampleto.env.localand update variables:
cp .env.example .env.local
- Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Database setup
Setup a PostgreSQL database. I recommend using Supabase as they have a great free tier and is easy to setup.
Put your database URL in the
.env.localfile under theDATABASE_URLkey.Run the Prisma migrate script to initialize the schema:
npm run migrate:dev
License
Licensed under the GNU Affero General Public License v3.0.
Jelajahi proyek terkait
Memuat…