This is a repository for a Full Stack Airbnb example with Next.js 13 App Router: React, Tailwindcss, Prisma, MongoDB, NextAuth. this project is for learning purposes and acknowledge of new technologies of web development
First install the dependencies:
npm install
# or
yarn install
# or
pnpm installSetup .env file
DATABASE_URL=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_ID=
GITHUB_SECRET=
NEXTAUTH_SECRET=Setup Prisma
npx prisma db pushThen, run the development server:
npm run dev
# or
yarn dev
# or
pnpm devTo learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.