Keybase proof
I hereby claim:
- I am djirdehh on github.
- I am djirdehh (https://keybase.io/djirdehh) on keybase.
- I have a public key whose fingerprint is DDDB C924 ED57 A0F4 4138 28F4 8507 B686 DC14 B0A9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import App from './components/App'; | |
ReactDOM.render( | |
<div> | |
<App /> | |
</div>, | |
document.getElementById('root') | |
); |
const http = require("http"); | |
const express = require('express'); | |
const app = express(); | |
app.use('/public', express.static('./public')); | |
app.get('/', (req, res) => { | |
res.sendFile(__dirname + '/index.html'); | |
}) |
<template> | |
<div> | |
<h2>The numbers are {{ numbers }}!</h2> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: 'NumberComponent', | |
data () { |
import Vue from 'vue'; | |
export const EventBus = new Vue(); |
<!-- Parent Component --> | |
<template> | |
<div> | |
<ChildComponent | |
:numbers="numbers" | |
@number-added="numbers.push($event)" | |
/> | |
</div> | |
</template> |
import { shallowMount } from "@vue/test-utils"; | |
import App from "@/App.vue"; | |
describe("App", () => { | |
let wrapper; | |
beforeEach(() => { | |
wrapper = shallowMount(App); | |
}); |
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, |
PORT= | |
DB_USER= | |
DB_USER_PASSWORD= | |
DB_CLUSTER= |
// 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, |