This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PORT= | |
PUBLIC_URL= | |
DB_USER= | |
DB_USER_PASSWORD= | |
DB_CLUSTER= | |
G_CLIENT_ID= | |
G_CLIENT_SECRET= | |
SECRET= | |
NODE_ENV= | |
G_GEOCODE_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const listingBookings = { | |
total: 4, | |
result: [ | |
{ | |
id: "5daa530eefc64b001767247c", | |
tenant: { | |
id: "117422637055829818290", | |
name: "User X", | |
avatar: | |
"https://lh3.googleusercontent.com/a-/AAuE7mBL9NpzsFA6mGSC8xIIJfeK4oTeOJpYvL-gAyaB=s100", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PORT= | |
PUBLIC_URL= | |
DB_USER= | |
DB_USER_PASSWORD= | |
DB_CLUSTER= | |
G_CLIENT_ID= | |
G_CLIENT_SECRET= | |
SECRET= | |
NODE_ENV= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PORT= | |
PUBLIC_URL= | |
DB_USER= | |
DB_USER_PASSWORD= | |
DB_CLUSTER= | |
G_CLIENT_ID= | |
G_CLIENT_SECRET= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const users: User[] = [ | |
{ | |
_id: "5d378db94e84753160e08b55", | |
token: "token_************", | |
name: "James J.", | |
avatar: | |
"https://res.cloudinary.com/tiny-house/image/upload/w_1000,ar_1:1,c_fill,g_auto/v1560648533/mock/users/user-profile-1_mawp12.jpg", | |
contact: "james@tinyhouse.com", | |
walletId: "acct_************", | |
income: 723796, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const listings: Listing[] = [ | |
{ | |
_id: new ObjectId("5d378db94e84753160e08b30"), | |
title: "Clean and fully furnished apartment. 5 min away from CN Tower", | |
description: | |
"2 bed, 2 bathroom cozy apartment in the heart of downtown Toronto and only 5 min away from the CN Tower, Scotiabank Arena, and Rogers Center.", | |
image: | |
"https://res.cloudinary.com/tiny-house/image/upload/v1560641352/mock/Toronto/toronto-listing-1_exv0tf.jpg", | |
host: "5d378db94e84753160e08b57", | |
type: ListingType.Apartment, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 2019-01-01 year: 2019 | month: 01 | day: 01 | |
// 2019-01-02 year: 2019 | month: 01 | day: 02 | |
// 2019-05-31 year: 2019 | month: 05 | day: 31 | |
// 2019-06-01 year: 2019 | month: 06 | day: 01 | |
// 2019-07-20 year: 2019 | month: 07 | day: 20 | |
const bookingsIndex = { | |
"2019": { | |
"00": { | |
"01": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "~antd/dist/antd.css"; | |
@import url(https://fonts.googleapis.com/css?family=Sacramento); | |
.menu { | |
width: 100%; | |
padding: 0 20px; | |
line-height: 63px; | |
border: 0; | |
} | |
@media (max-width: 48em) { | |
.menu { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PORT= | |
DB_USER= | |
DB_USER_PASSWORD= | |
DB_CLUSTER= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const listings = [ | |
{ | |
id: "001", | |
title: | |
"Clean and fully furnished apartment. 5 min away from CN Tower", | |
image: | |
"https://res.cloudinary.com/tiny-house/image/upload/v1560641352/mock/Toronto/toronto-listing-1_exv0tf.jpg", | |
address: "3210 Scotchmere Dr W, Toronto, ON, CA", | |
price: 10000, | |
numOfGuests: 2, |