Get started developing...
# install deps
yarn install
# run in development mode
yarn run dev
# run tests
yarn run test
Runs the application is development mode. Should not be used in production
yarn run dev
or debug it
yarn run dev:debug
Compiles the application and starts it in production production mode.
yarn run compile
yarn start
Run the Mocha unit tests
yarn test
or debug them
yarn run test:debug
- Open you're browser to http://localhost:8080
- Invoke the
/spec
endpointcurl http://localhost:8080/api/v1/spec
yarn run dev:debug
yarn run test:debug
Add these contents to your .vscode/launch.json
file
View airbnb linter output
yarn run lint
Fix all airbnb linter errors
yarn run lint
Deploy to CloudFoundry
cf push meli-bff