Skip to content

MatthewBleUK/nextjs-tutorial-application

Repository files navigation

This is a Next.js tutorial project that I followed from JavaScript Mastery's Youtube channel. The application allows users to easily discover and share Ai prompts.

Vercel example site: https://nextjs-tutorial-application.vercel.app/

Getting Started

Add the environment variables inside a .env.local file in the root directory. The application requires Google OAuth 2.0, MongoDB Atlas Cluster and NextAuth.js environment variables.

GOOGLE_ID=[]
GOOGLE_CLIENT_SECRET=[]
MONGODB_URI=[]

NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_URL_INTERNAL=http://localhost:3000
NEXTAUTH_SECRET=

The NEXTAUTH_SECRET variable can be created with:

openssl rand -base64 32

Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Screenshots

Application's homepage image

Application's create post page image

Application's profile page image

About

A nextjs tutorial application created by JavaScript Mastery. Promptopia is a web application used to discover & share Ai prompts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published