./bin/servicemix
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 { gql } from 'apollo-server-express' | |
import { GraphQLError } from 'graphql/error' | |
import { Kind } from 'graphql/language' | |
const EMAIL_REGEX = new RegExp( | |
/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/ | |
) | |
const Email = gql` | |
"Scalar data representing email" |
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
services: | |
thing-provider-service: | |
image: node | |
working_dir: /usr/src/app | |
volumes: | |
- ./:/usr/src/app | |
command: bash -c "npm install && npm start" | |
ports: | |
- "3002:3002" | |
depends_on: |
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
{ | |
"AWSTemplateFormatVersion":"2010-09-09", | |
"Metadata":{ | |
"AWS::CloudFormation::Interface":{ | |
"ParameterGroups":[ | |
{ | |
"Label":{ | |
"default":"Application version" | |
}, | |
"Parameters":[ |
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Parameters": { | |
"ApplicationBucket": { | |
"Type": "String", | |
"Description": "The bucket name with artifact" | |
}, | |
"ApiKey": { | |
"Type": "String", | |
"Description": "The API key to make requests to server" |