Skip to content

Instantly share code, notes, and snippets.

  • Passer l'ensemble des appels aux store dans un dossier API rangé par store avec un fichier par entité ou par query / mutation si graphQL
  • Les services de chargement des master data doivent aussi être insérés dans le dossier de l'api liée avec que les enums associées
api
  candidate
  job
  booking
     query
       loadCandidateResponse.js
1. Build GraphQL server using `express-graphql` package.
2. Configure `schema.js` file.
3. Query for data.
1. Build GraphQL server using `express-graphql` package.
2. Configure `schema.js` file.
3. Query for data.
const IntlMessageFormat = require('intl-messageformat')
function t(strings, values) {
const string = strings[0].trim()
var msg = new IntlMessageFormat(string, 'en-US')
return msg.format(values)
}
const person = 'Mike'
const age = 28
  • Language => 🇬🇧
  • Utils => 🔧
  • Views => 🏞
  • Components => ⚛️
  • Redux state and actions => ☣️
  • Route => 🛣
  • Config => ⚙️
  • Release => 🚀
  • doc => 📙
  • tests => 🚥
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadForGetBucketObjects",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::yourBucket/*"
}

apm install tool-bar docblockr linter linter-js-standard merge-conflicts prettier-standard-formatter

import React, {PureComponent} from 'react'
import {HashRouter as Router, Match, Link} from 'react-router'
const DEBUG = props => <pre><code>{JSON.stringify(props, null, 4)}</code></pre>
const config = [
{
Component: DEBUG,
category: 'language',
subCategory: 'language-step1'
},
@pierr
pierr / links.md
Last active December 8, 2016 10:05
Links to getting started