Skip to content

Latest commit

 

History

History
78 lines (56 loc) · 1.39 KB

README.md

File metadata and controls

78 lines (56 loc) · 1.39 KB

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: [email protected]
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