3Alan / airbnb-clone

A Full Stack Airbnb Clone built with React Native (Expo)

Home Page:https://trip.alanwang.site/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AriBnb Clone

It is for learning purpose only. All image from unsplash.(https://source.unsplash.com/random)

Demo

The Demo is read only. You can't create, update or delete any data.

Account:
email: alan@test.com
password: 123456

Web

https://trip.alanwang.site/

Tech Stack

  • Expo SDK 50
  • Expo Router V3
  • Expo API Route
  • MongoDB for database
  • Zod for schema validation
  • Prisma for ORM
  • React Query for async state management
  • Zustand for global state management
  • React Hook Form for form validation

Screenshots

Local Development

Install Dependencies

yarn

Set Environment

mkdir .env
DATABASE_URL="mongodb+srv://<username>:<password>@<cluster-url>/airbnb"

Run MongoDB Replica Set

docker compose up --wait

Init Database

npx prisma db push

Start

yarn start

About

A Full Stack Airbnb Clone built with React Native (Expo)

https://trip.alanwang.site/

License:GNU General Public License v3.0


Languages

Language:TypeScript 99.2%Language:JavaScript 0.8%