Skip to content

This is a clone of tinyhouse app built with Vue 3, Apollo GraphQL, MongoDB and more

Notifications You must be signed in to change notification settings

xiaosasori/tinyhouse-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • Sign-in with their Google account
  • Search for listing in different locations in the world
  • See specific details about listings
  • Book listings for a period of time
  • Connect their Stripe account to be allowed to create listings and receive payments from other users
  • Create listings of their own
  • See a history of the listings they've created, the bookings they've made, and the bookings made to their own listings
  • See a history of listings created by other users

Authentication with google

  • Go to console
  • Click credentials on sidebar. Create credentials, select OAuth Client ID.
  • When choosing scope, select email, profile, openid
  • After finishing first steps above, click to credentials, select create OAuth Client ID again. Choose web application, set authorized JS origins to http://localhost:...
  • Enable Google People Api in console to let server get those info

Geocoding API

Setup

  • Enable Geocoding API in console
  • Go to credentials tab and create a new API key.
  • Select Restrict key in API restrictions section. Choose Geocoding API in dropdown. Now save

Index DB

  • Go to atlas and create index in collection listings
{
  "country": 1,
  "admin": 1,
  "city": 1
}

Screenshots

Home page Profile Connecting stripe Search Booking Create list

Releases

No releases published

Packages

No packages published