Zendro-dev / graphql-server

Skeleton NodeJS project for a graphQL server.
GNU General Public License v3.0
0 stars 1 forks source link

Add environment variable PORT that is used to define on which port the server is listening #9

Closed asishallab closed 5 years ago

asishallab commented 5 years ago

Currently PORT is statically set to 3000 on line 19 of server.js.

Please retain 3000 as default but also enable setting this variable to an environment variable PORT.

Add documentation in both the README and our manual.

Expected work time: 20 Minutes

vsuaste commented 5 years ago

Done. Commits: #940812 #35f23ec #5e0566 #050ded

Actual work time: 40 minutes