Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashishkk22/nextjs-airbnb-clone
https://github.com/ashishkk22/nextjs-airbnb-clone
mongodb next13 nextauthjs prisma tailwindcss typescript zustand
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/ashishkk22/nextjs-airbnb-clone
- Owner: ashishkk22
- Created: 2023-04-21T05:56:42.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-06-23T22:14:26.000Z (over 1 year ago)
- Last Synced: 2024-11-10T22:13:36.497Z (about 2 months ago)
- Topics: mongodb, next13, nextauthjs, prisma, tailwindcss, typescript, zustand
- Language: TypeScript
- Homepage: https://airbnb-clone22.vercel.app/
- Size: 311 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Airbnb NextJs Clone
### :space_invader: Tech Stack
Client
Server
Database
### :dart: Features
- Property owners can add their properties to the website and they can manage their properties' reservations.
- Users can filter the properties like countries, dates, rooms, guests etc.
- Users can add the properties to the favourites section.
- Users can manage their existing reservations from my reservation section
- This website supports login with GitHub, Google and Email.
### :key: Environment Variables
To run this project, you will need to add the following environment variables to your .env file. you can refer .env.example file for the references.
`DATABASE_URL`
`NEXTAUTH_SECRET`
`GOOGLE_ID`
`GOOGLE_SECRET`
`GITHUB_ID`
`GITHUB_SECRET`
`NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME`
## :toolbox: Getting Started
### System Requirements
- git v2.13 or greater
- nodejs `14 || 16 || 18`
- npm v8.16.0 or greater
All of these must be available in your `PATH`. To verify things are set up
properly, you can run this:
```shell
git --version
node --version
npm --version
```
### :bangbang: Prerequisites
This project uses Yarn as package manager
```bash
npm install --global yarn
```
### :running: Run Locally
Clone the project
```bash
https://github.com/ashishkk22/nextjs-airbnb-clone.git
```
Go to the project directory
```bash
cd nextjs-airbnb-clone
```
Install dependencies and add the required environment variables in the .env
```bash
yarn install
```
To synchronize your Prisma schema with your database schema run
```bash
npx prisma db push
```
Start the dev server
```bash
yarn dev
```
## :handshake: Contact
Ashish Kachhadiya - [email protected]