Backend for AASF Website
Get started developing...
# install deps
npm install
# run in development mode
npm run dev
# run tests
npm run test
Install all package dependencies (one time operation)
npm install
Runs the application is development mode. Should not be used in production
npm run dev
or debug it
npm run dev:debug
Compiles the application and starts it in production production mode.
npm run compile
npm start
Run the Mocha unit tests
npm test
or debug them
npm run test:debug
- Open you're browser to http://localhost:3000
- Invoke the
/examples
endpointcurl http://localhost:3000/api/v1/examples
npm run dev:debug
npm run test:debug
Add these contents to your .vscode/launch.json
file
View prettier linter output
npm run lint
Fix all prettier linter errors
npm run lint
Deploy to CloudFoundry
cf push aasf-website-backend