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
{ | |
"attributes": { | |
"referrals": null, | |
"miscarriages": 19, | |
"notes": [], | |
"form": { | |
"id": "9b5716fd-a0bb-47d6-bf23-68b18acc0195", | |
"type": "medical:form" | |
}, | |
"room": null, |
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 'dotenv/config'; | |
import express from 'express'; | |
import axios from 'axios'; | |
import cors from 'cors'; | |
import crypto from 'crypto'; | |
const app = express(); | |
app.use(cors()); | |
app.use(express.json()); |
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 User = ({ id, children }) => { | |
<Query query={GET_USER} variables={{ userId }}> | |
{({ loading, data }) => (children({ user: data})) | |
</Query> | |
} | |
const UserStartup = ({ user: { email }, children }) => ( | |
<Query query={GET_HACKERNEWS_STARTUP} variables={{ email }}> | |
{({ loading, data: { startup } }) => ( | |
<Query query={GET_REPO} variables = {{ startup }}> |
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
/* | |
* Programming Quiz: Ice Cream (3-6) | |
* @animalworldng_alc_web_beginners_team_79 | |
* Write a single if statement that logs out the message: | |
* | |
* "I'd like two scoops of __________ ice cream in a __________ with __________." | |
* | |
* ...only if: | |
* - flavor is "vanilla" or "chocolate" | |
* - vessel is "cone" or "bowl" |