This is the sample service to use as a starting point for building an API with node.js
- Create a
.envfile similar to the.env.samplefile for RabbitMQ. - Run the below commands
$ npm install
$ npm start- Requires Node version 6.11 or greater installed
$ npm test
# to execute test on file changes
$ npm run test:watchIn order to leverage the latest language features, we are using Babel to transpile our code to ES5 in order to ensure backwards compatibility with older versions of node.js.
npm run build- On Linux/Unix
- Use a process manager to serve up the application.
pm2orforever
- Use a process manager to serve up the application.
- On Windows Server
- If the application is being run on a windows server,
iismodeis a required dependency that would need to be installed on that machine. Include theiisnode.ymlandWeb.configso that IIS can serve the app
- If the application is being run on a windows server,
Send us a pull request on [bitbucket]
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Ashley Narcisse