This file contains hidden or 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
{ | |
"initalState": { | |
"mylist": [], | |
"trends": [ | |
{ | |
"id": 2, | |
"slug": "tvshow-2", | |
"title": "In the Dark", | |
"type": "Scripted", | |
"language": "English", |
This file contains hidden or 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
# Node template | |
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
# Runtime data |
This file contains hidden or 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
{ | |
"env": { | |
"browser": true, | |
"es6": true, | |
"node": true | |
}, | |
"extends": ["airbnb"], | |
"globals": { | |
"document": false, | |
"escape": false, |
This file contains hidden or 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 products = [ | |
{ id: "1", name: "shirt", category: "clothing" }, | |
{ id: "2", name: "Sports Tennis", category: "accessories" }, | |
{ id: "3", name: "Casual shoes", category: "footwear" }, | |
{ id: "4", name: "skirt", category: "clothing" }, | |
{ id: "5", name: "tie", category: "clothing" } | |
] | |
let nameOfProducts = []; |
This file contains hidden or 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
{ | |
"pets": { | |
"0": { | |
"adopt": true, | |
"date": "2019-03-29T04:07:28.238Z", | |
"description": "Tata es un gatita de 3 años", | |
"gender": "female", | |
"name": "Tata", | |
"photo": "http://s3.amazonaws.com/chewiekie/img/tata.png", | |
"profilePic": "https://graph.facebook.com/10156355067184077/picture", |
This file contains hidden or 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 url("https://fonts.googleapis.com/css?family=Roboto:100,300,400"); | |
@import url("https://use.fontawesome.com/releases/v5.7.2/css/all.css"); | |
body { | |
margin: 0; | |
padding: 0; | |
background-color: #f4f8fb; | |
font-family: 'Roboto', sans-serif; | |
color: #8c93bd; | |
} |
This file contains hidden or 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
/* | |
* html5 doctor css reset | http://html5doctor.com/html-5-reset-stylesheet | |
*/ | |
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent} | |
body{line-height:1} | |
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block} | |
nav ul{list-style:none} | |
blockquote,q{quotes:none} | |
blockquote:before,blockquote:after,q:before,q:after{content:none} | |
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent} |
This file contains hidden or 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 firebase from 'firebase'; | |
const config = { | |
apiKey: "unreadablestuff", | |
authDomain: "your-project-name.firebaseapp.com", | |
databaseURL: "https://your-project-name.firebaseio.com", | |
projectId: "your-project-name", | |
storageBucket: "your-project-name.appspot.com", | |
messagingSenderId: "0112358132134" | |
}; |
This file contains hidden or 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
// Añadimos React & nuestro archivo de configuración | |
import React, { Component } from 'react'; | |
import firebaseConf from './Firebase'; | |
class App extends Component { | |
// inicializamos nuestro estado inicial | |
constructor(props) { | |
super(props); | |
this.state = { |
This file contains hidden or 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": "simple-bot-messenger", | |
"version": "1.0.0", | |
"description": "creating a simple bot for messenger", | |
"main": "app.js", | |
"scripts": { | |
"start": "node app.js", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"repository": { |