- Hide all the details that aren't in the core set of what you want to highlight
- Demo everything in Graphiql (or GraphQL Playground). No Elm code to keep it simple and focused on the server-side framework.
- Write down a concise list of the main things you want to highlight about the framework. Share that at the beginning of your demo ("I'm going to be showing off how X framework does these things in an interesting/important/unusual way"). Then craft your entire demo around that list, and make sure you're laser focused on those points.
- Have a demo which you can build up incrementally to show off each of the features in your list. For example, if you're going to show off Subscriptions, then show how to make a basic query with an example that would also be interesting for the Subscriptions demo.
- Remember that 10 minutes goes by super fast when you're doing a demo. Keep it really simple and really focused on the things you want to highlight. Remember that you have a lot of context that the audience won't
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": "----frontend", | |
"version": "2.12.0", | |
"private": true, | |
"engines": { | |
"node": "11.15.0" | |
}, | |
"scripts": { | |
"build": "npx elm-app build", | |
"start": "standard && npx elm-app start", |
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": "----frontend", | |
"version": "2.12.0", | |
"private": true, | |
"engines": { | |
"node": "11.15.0" | |
}, | |
"scripts": { | |
"build": "npx elm-app build", | |
"start": "standard && npx elm-app start", |
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": "----frontend", | |
"version": "2.12.0", | |
"private": true, | |
"engines": { | |
"node": "11.15.0" | |
}, | |
"scripts": { | |
"build": "npx elm-app build", | |
"start": "standard && npx elm-app start", |
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": "----frontend", | |
"version": "2.12.0", | |
"private": true, | |
"engines": { | |
"node": "11.15.0" | |
}, | |
"scripts": { | |
"build": "npx elm-app build", | |
"start": "standard && npx elm-app start", |
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
EnteredAccount str -> | |
let | |
newProblems = | |
model.problems | |
|> List.filter (\p -> | |
case p of | |
InvalidEntry Account _ -> | |
False | |
_ -> True |
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 AbsintheSocket = require("@absinthe/socket"); | |
const {Socket: PhoenixSocket} = require("phoenix"); | |
// establish a connection | |
const conSock = new PhoenixSocket("ws://localhost:4000/socket"); | |
//build an absinthe socket | |
const abSocket = AbsintheSocket.create(conSock); | |
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
00:00:16.707 [info] WiFiManager(wlan0): udhcp bound | |
00:00:17.318 [info] bus names: ["i2c-1"] | |
00:00:17.318 [info] starting Loop | |
00:00:17.845 [info] Reading x axis | |
00:00:17.846 [info] Result from write :ok |
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
@chars "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890-_?" |> String.split("", trim: true) | |
@spec generate_hash(integer()) :: String.t() | |
def generate_hash(length) do | |
Enum.reduce((1..length), [], fn (_i, acc) -> | |
[Enum.random(@chars) | acc] | |
end) |> Enum.join("") | |
end |
This guide assumes you Elixir and Erlang set up on your machine If not follow the installation instructions for your system.
- Clone the development branch using
git clone
repo - Follow this guide to setup postgres on your system if you haven't already
- From the downloaded
qb_backend
folder run the following - Run
mix deps.get
to install dependecies