Releases: HiThereCommunity/example-graphql-server
Releases · HiThereCommunity/example-graphql-server
v1.1
Improvement
- Improvement to the development workflow.
npm run startnow automatically performs a flow and linter check on every file change in addition to restarting the server. - Improved the production workflow.
npm run servenow automatically compiles and runs the code in the background using forever. - Errors returned by the graphql response when running the server in development contain the stacktrace; this makes debugging the code a lot easier.
Removed
- Removed support for windows. Supporting both linux and windows overcomplicated the project.
- Removed the tutorial from the project. It was too difficult to keep in sync with the actual code in repo anymore given that the project was becoming a bit larger.
v1.0.3
v1.0.2
- Added support for starting the server on windows using the scripts:
npm run startWindowsandnpm run serveWindows. - Updated the tutorial with a description on how to set the environment variables to distinguish between development and production.
v1.0.1
- Added development/production as an environment variable in node that can be accessed using
process.env.NODE_ENV. - The production server automatically runs on port 80
- The development server automatically runs on port 3000
- Added better definition of the node versions that are supported for running the server in the
package.json
v1.0.0
Initial release