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
<template> | |
<div> | |
<input v-model="number" type="number" /> | |
<button @click="addNumber">Add new number</button> | |
</div> | |
</template> | |
<script> | |
import { emitter } from "../event-bus.js"; | |
export default { |
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 mitt from "mitt"; | |
export const emitter = mitt(); |
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: "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
{ | |
"name": "tinyhouse-v1-server", | |
"version": "0.1.0", | |
"dependencies": { | |
"express": "^4.17.1" | |
}, | |
"devDependencies": { | |
"@types/express": "^4.17.0", | |
"@types/node": "^13.7.1", | |
"@typescript-eslint/eslint-plugin": "^2.19.2", |
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
Business name: TinyHouse | |
Brand color: #1890ff | |
Logo/Icon: https://s3-us-west-2.amazonaws.com/s.cdpn.io/1211695/thlogowhite.jpg |
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
REACT_APP_S_CLIENT_ID= | |
REACT_APP_S_PUBLISHABLE_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
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
PORT= | |
PUBLIC_URL= | |
DB_USER= | |
DB_USER_PASSWORD= | |
DB_CLUSTER= | |
G_CLIENT_ID= | |
G_CLIENT_SECRET= | |
SECRET= | |
NODE_ENV= | |
G_GEOCODE_KEY= |