Home Rentals

Updated:

A full stack application built with Next.js, Tailwind CSS, NextAuth, Prisma, MongoDB and deployed on Vercel.

Home Rentals - Next.js full stack application Home Rentals - Next.js full stack application

Environment Variables

Create a .env file in your root directory:

DATABASE_URL=

GITHUB_ID=
GITHUB_SECRET=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

NEXTAUTH_SECRET=
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=

Getting Started

To run this project locally:

npm i

npx prisma db push

npm run dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

Code available on GitHub.