We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder
python -m venv ./venv
We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder
python -m venv ./venv
1) npm install -g firebase-tools | |
2) firebase login | |
3) firebase init hosting | |
4) pick folder | |
5) firebase serve (if u want to see how the site looks in dev) | |
6) firebase deploy |
db.collection('cafes').add({ | |
name: 'jack', | |
city: 'bronx' | |
}) |
const resolvers = { | |
Query: { | |
getCurrentGlobalCases: () => currentGlobalCases(), | |
getGlobalCasesByDate(parent, args) { | |
//id: Cases By Date | |
return globalCasesByDate(args.id); | |
}, | |
// id: Cases By Country Name |
const express = require('express') | |
const graphqlHTTP = require('express-graphql') | |
const schema = require('./schema/schema') | |
const app = express() | |
app.use('/graphql', graphqlHTTP({ | |
schema, | |
graphiql: true | |
})) |
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :