Server no longer auto starts unless it is the main module.
This means that npm start and npm run start-api still start the server without any further input from the server while using the server through require does not. This allows for easier testing of the API.
Server no longer auto starts unless it is the main module. This means that
npm start
andnpm run start-api
still start the server without any further input from the server while using the server throughrequire
does not. This allows for easier testing of the API.