This project was generated with Angular CLI version 8.2.0.
This code was deployed to AWS via the S3 service: http://brewdog-beer-application.s3-website.us-east-2.amazonaws.com
While deploying the application to S3 was simple, it unfortunately didn't provide support for the angular routes. If the user navigated directly to the angular routes, it would cause 404 errors. To fix this, I used AWS CloudFront: https://d33ra9d2ehj9w9.cloudfront.net/home
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
You can also run npm run start
, if you prefer npm scripts.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
You can also run npm run build
, if you prefer npm scripts.
Run ng test
to execute the unit tests via Karma. For coverage reports, run ng test --codeCoverage=true
or, if you prefer npm scripts, npm run test
Run ng e2e
to execute the end-to-end tests via Protractor.
(Note: I did not test this out yet)