1.0.3 • Published 5 years ago
carry-on-node v1.0.3
carry-on-node
carry-on-node
Get Started
Get started developing...
# install deps
npm install
# run in development mode
npm run dev
# run tests
npm run testInstall Dependencies
Install all package dependencies (one time operation)
npm installRun It
Run in development mode:
Runs the application is development mode. Should not be used in production
npm run devor debug it
npm run dev:debugRun in production mode:
Compiles the application and starts it in production production mode.
npm run compile
npm startTest It
Run the Mocha unit tests
npm testor debug them
npm run test:debugTry It
- Open you're browser to http://localhost:3000
- Invoke the
/examplesendpointcurl http://localhost:3000/api/v1/examples
Debug It
Debug the server:
npm run dev:debugDebug Tests
npm run test:debugDebug with VSCode
Add these contents to your .vscode/launch.json file
Lint It
View prettier linter output
npm run lintFix all prettier linter errors
npm run lintDeploy It
Deploy to CloudFoundry
cf push carry-on-node1.0.3
5 years ago