This project was generated with Angular CLI version 7.2.1.
Run AWS_PROFILE=cok ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run npm run test
to execute the unit tests via Karma.
Run npm run e2e
to execute the end-to-end tests via Protractor.
ATTENTION: You must change the provider:stage value in serverless.yml before running the commands below. I have no idea why.
AWS_PROFILE=cok npm run build:dev:deploy
AWS_PROFILE=cok npm run build:prod:deploy
AWS_PROFILE=cok serverless logs -f FUNCTION -s dev -t
AWS_PROFILE=cok serverless logs -f FUNCTION -s production -t
API Documentation https://docs.google.com/document/d/1145R9-FcmA1NMXMAwbzFmNZ4DRtdWuazCsZYtJa8Owg/edit#heading=h.fzmuu9lzv3sm
Send a mixPanel event
AWS_PROFILE=cok SLS_DEBUG=* serverless invoke local -X -f sendEvent --data '{ "queryStringParameters": {"event":"test","emailAddress":"[email protected]","options":{"possibleMatches":50,"personMatch":false}}}'