{"id":14007072,"url":"https://github.com/yaseenmustapha/nextjs14-app","last_synced_at":"2025-07-24T01:30:44.366Z","repository":{"id":87217189,"uuid":"606206177","full_name":"yaseenmustapha/nextjs14-app","owner":"yaseenmustapha","description":"Full-stack Next.js 14 application. Uses React 18 client \u0026 server components, TypeScript, Prisma ORM, Railway PostgreSQL database, NextAuth.js OAuth 2.0 authentication, OpenAI API GPT-3.5-Turbo, and Stripe payments.","archived":false,"fork":false,"pushed_at":"2024-05-23T00:51:15.000Z","size":495,"stargazers_count":258,"open_issues_count":4,"forks_count":52,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-05-23T01:41:44.823Z","etag":null,"topics":["gpt-35-turbo","nextauth","nextjs","nextui","oauth2","openai","openai-api","postgresql","prisma","railway","react","reactjs","stripe","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://nextjs14-showcase.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaseenmustapha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-24T21:01:44.000Z","updated_at":"2024-05-30T14:49:29.663Z","dependencies_parsed_at":"2024-05-30T14:49:22.851Z","dependency_job_id":"e4cdb777-9f26-4d18-aca7-29d1dabb0d22","html_url":"https://github.com/yaseenmustapha/nextjs14-app","commit_stats":null,"previous_names":["yaseenmustapha/nextjs14-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaseenmustapha%2Fnextjs14-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaseenmustapha%2Fnextjs14-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaseenmustapha%2Fnextjs14-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaseenmustapha%2Fnextjs14-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaseenmustapha","download_url":"https://codeload.github.com/yaseenmustapha/nextjs14-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":214780404,"owners_count":15783765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gpt-35-turbo","nextauth","nextjs","nextui","oauth2","openai","openai-api","postgresql","prisma","railway","react","reactjs","stripe","tailwindcss","typescript"],"created_at":"2024-08-10T10:01:48.387Z","updated_at":"2024-08-10T10:03:45.886Z","avatar_url":"https://github.com/yaseenmustapha.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"This is an app built to showcase the capabilities of [Next.js 14](https://nextjs.org/docs).\n\nLive demo is up at [nextjs14-showcase.vercel.app](https://nextjs14-showcase.vercel.app)\n\n\u003e **Warning**\n\u003e This app is a work in progress. Site may be unstable.\n\u003e \nHome Page (Desktop)         |  Social Media Feed (Mobile)\n:-------------------------:|:-------------------------:\n\u003cimg alt=\"Screenshot 2024-05-22 at 10 10 41 PM\" src=\"https://github.com/yaseenmustapha/nextjs14-app/assets/26501999/5e418f1a-d0a4-4aed-8d00-a873f7d4f73b\"\u003e |  ![IMG_0675](https://github.com/yaseenmustapha/nextjs14-app/assets/26501999/8fdb90fb-ceb8-40f5-9730-ac154edbb7d1)\n\n## Features\n\n- Using new **Next.js 14**\n- New `/app` dir,\n- Routing, Layouts, Nested Layouts and Layout Groups\n- Data Fetching, Caching and Mutation\n- Uses client and server components from **React 18**\n- API Routes\n- Live social media feed with likes, comments, and profanity filter\n- Enhance social media posts using **OpenAI API** with **GPT-3.5-Turbo** model\n- OAuth 2.0 Authentication through Google, GitHub, and Discord using **NextAuth.js**\n- ORM using **Prisma**\n- PostgreSQL Database on **Supabase**\n- UI Components built using **NextUI v2.0**\n- Styled using **Tailwind CSS**\n- Dark mode using **next-themes**\n- Payments using **Stripe**\n- Written in **TypeScript**\n\n## Run locally\n1. Install dependencies\n\n```bash\nnpm install\n```\n2. Copy `.env.example` to `.env.local` and update variables:\n\n```bash\ncp .env.example .env.local\n```\n\n3. Run the development server:\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Database setup\n\n1. Setup a PostgreSQL database. I recommend using [Supabase](https://supabase.com) as they have a great free tier and is easy to setup.\n\n2. Put your database URL in the `.env.local` file under the `DATABASE_URL` key.\n\n3. Run the Prisma migrate script to initialize the schema:\n\n```bash\nnpm run migrate:dev\n```\n## License\n\nLicensed under the [GNU Affero General Public License v3.0](https://github.com/yaseenmustapha/nextjs14-app/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaseenmustapha%2Fnextjs14-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaseenmustapha%2Fnextjs14-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaseenmustapha%2Fnextjs14-app/lists"}