<commit_before># GraphQL

> GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.

> GraphQL是API的一种查询语言，也是一种运行时，可以用您现有的数据来完成这些查询。

http://graphql.org/


http://graphql.org/blog/

***

# Learn

http://graphql.org/learn/

> Queries and Mutations

http://graphql.org/learn/queries/

> Schemas and Types

http://graphql.org/learn/schema/

>

http://graphql.org/learn/execution/

>

http://graphql.org/learn/validation/

>

http://graphql.org/learn/introspection/

>

http://graphql.org/learn/best-practices/

***

# Code

http://graphql.org/code/

http://graphql.org/code/#server-libraries
http://graphql.org/code/#graphql-clients
http://graphql.org/code/#tools


> GraphQL.js

http://graphql.org/code/#javascript
http://graphql.org/graphql-js/
https://github.com/graphql/graphql-js/
https://www.npmjs.com/package/graphql

> GraphQL Java implementation

http://graphql.org/code/#java
https://github.com/graphql-java/graphql-java

***

# Spec
https://facebook.github.io/graphql/
https://facebook.github.io/graphql/October2016/
https://facebook.github.io/graphql/October2016/#sec-Field-Alias


***

![image](https://user-images.githubusercontent.com/17099059/34077920-664d6e8a-e34a-11e7-9a4e-069a5743fa46.png)


# GraphQL fullstack tutorial website

> The Fullstack Tutorial for GraphQL

https://www.howtographql.com

https://github.com/howtographql/howtographql

## react-relay

https://www.howtographql.com/react-relay/0-introduction/

## graphql-js

https://www.howtographql.com/graphql-js/1-getting-started/



https://app.pluralsight.com/library/courses/graphql-scalable-apis/table-of-contents




# GraphQLHub

https://www.graphqlhub.com/

## `.env`

https://github.com/clayallsopp/graphqlhub#quick-start

> `env` is a shell command for Unix and Unix-like operating systems.


https://en.wikipedia.org/wiki/Env


# node.js & `process.env`

> `process.env`

https://nodejs.org/api/process.html#process_process_env

```sh

{
    TERM: 'xterm-256color',
    SHELL: '/usr/local/bin/bash',
    USER: 'maciej',
    PATH: '~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin',
    PWD: '/Users/maciej',
    EDITOR: 'vim',
    SHLVL: '1',
    HOME: '/Users/maciej',
    LOGNAME: 'maciej',
    _: '/usr/local/bin/node'
}


```

***

https://stackoverflow.com/questions/22312671/node-js-setting-environment-variables

https://stackoverflow.com/questions/9198310/how-to-set-node-env-to-production-development-in-os-x

https://www.twilio.com/blog/2017/08/working-with-environment-variables-in-node-js.html

![](https://www.twilio.com/blog/wp-content/uploads/2017/08/h6p92574BnyPzrK_d-MEH0rJ7nVcFBfbPfOXlnf5tWFT12Y74mxqvutrSBRw3ntDM4es5ThipSUtWr3SafnUd27s1-gcRU1JURKJxbNfPrvbQDCDr8Uri4OP4rNNf5fcWJSs6w3k.png)


![image](https://user-images.githubusercontent.com/17099059/34080528-70632f4c-e37a-11e7-9078-195cc48dd915.png)


https://www.tutorialspoint.com/nodejs/nodejs_environment_setup.htm

https://davidwalsh.name/node-environment-variables




<commit_msg>Hashbang === Shebang<commit_after># GraphQL

> GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.

> GraphQL是API的一种查询语言，也是一种运行时，可以用您现有的数据来完成这些查询。

http://graphql.org/


http://graphql.org/blog/

***

# Learn

http://graphql.org/learn/

> Queries and Mutations

http://graphql.org/learn/queries/

> Schemas and Types

http://graphql.org/learn/schema/

>

http://graphql.org/learn/execution/

>

http://graphql.org/learn/validation/

>

http://graphql.org/learn/introspection/

>

http://graphql.org/learn/best-practices/

***

# Code

http://graphql.org/code/

http://graphql.org/code/#server-libraries
http://graphql.org/code/#graphql-clients
http://graphql.org/code/#tools


> GraphQL.js

http://graphql.org/code/#javascript
http://graphql.org/graphql-js/
https://github.com/graphql/graphql-js/
https://www.npmjs.com/package/graphql

> GraphQL Java implementation

http://graphql.org/code/#java
https://github.com/graphql-java/graphql-java

***

# Spec
https://facebook.github.io/graphql/
https://facebook.github.io/graphql/October2016/
https://facebook.github.io/graphql/October2016/#sec-Field-Alias


***

![image](https://user-images.githubusercontent.com/17099059/34077920-664d6e8a-e34a-11e7-9a4e-069a5743fa46.png)


# GraphQL fullstack tutorial website

> The Fullstack Tutorial for GraphQL

https://www.howtographql.com

https://github.com/howtographql/howtographql

## react-relay

https://www.howtographql.com/react-relay/0-introduction/

## graphql-js

https://www.howtographql.com/graphql-js/1-getting-started/



https://app.pluralsight.com/library/courses/graphql-scalable-apis/table-of-contents




# GraphQLHub

https://www.graphqlhub.com/

## `.env`

https://github.com/clayallsopp/graphqlhub#quick-start

> `env` is a shell command for Unix and Unix-like operating systems.


https://en.wikipedia.org/wiki/Env


# node.js & `process.env`

> `process.env`

https://nodejs.org/api/process.html#process_process_env

```sh

{
    TERM: 'xterm-256color',
    SHELL: '/usr/local/bin/bash',
    USER: 'maciej',
    PATH: '~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin',
    PWD: '/Users/maciej',
    EDITOR: 'vim',
    SHLVL: '1',
    HOME: '/Users/maciej',
    LOGNAME: 'maciej',
    _: '/usr/local/bin/node'
}


```

***

https://stackoverflow.com/questions/22312671/node-js-setting-environment-variables

https://stackoverflow.com/questions/9198310/how-to-set-node-env-to-production-development-in-os-x

https://stackoverflow.com/questions/18864677/what-is-process-env-port-in-node-js

https://www.twilio.com/blog/2017/08/working-with-environment-variables-in-node-js.html

![](https://www.twilio.com/blog/wp-content/uploads/2017/08/h6p92574BnyPzrK_d-MEH0rJ7nVcFBfbPfOXlnf5tWFT12Y74mxqvutrSBRw3ntDM4es5ThipSUtWr3SafnUd27s1-gcRU1JURKJxbNfPrvbQDCDr8Uri4OP4rNNf5fcWJSs6w3k.png)


![image](https://user-images.githubusercontent.com/17099059/34080528-70632f4c-e37a-11e7-9078-195cc48dd915.png)


https://www.tutorialspoint.com/nodejs/nodejs_environment_setup.htm

https://davidwalsh.name/node-environment-variables




## wiki

https://en.wikipedia.org/wiki/Shell_script

### Hashbang === Shebang

https://en.wikipedia.org/wiki/Shebang_(Unix)
https://en.wikipedia.org/w/index.php?title=Hashbang&redirect=no

>In computing, a shebang is the character sequence consisting of the characters number sign and exclamation mark (#!) at the beginning of a script.

> 在计算中，shebang 是由脚本开始处的字符数字符号和感叹号 (#!) 组成的字符序列。


{'fraction_non_alphanumeric': 0.16300988875154512, 'fraction_numerical': 0.04573547589616811, 'mean_word_length': 4.104889589905363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 31, 'https://': 50, 'lorem ipsum': 0, 'www.': 16, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4286838', 'n_tokens_mistral': 2832, 'n_tokens_neox': 2591, 'n_words': 274}