This project was generated with Angular CLI version 12.2.3. View it here: Finding Falcone
This coding problem statement is available on Geektrust.
Front-end framework used: Angular.
Test framework used: Jasmine and run via Karma.
Hosting used: Google Firebase.
Dependency Management: Node Package Manager (NPM).
DEV server: Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if any of the source files is changed.
Code scaffolding: 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
.
Build the app: Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. It's no more required to add the --prod
flag since it is deprecated.
Tests: Run ng test
to execute the unit tests via Karma. The tests are written using Jasmine framework.
Code coverage: Run ng test --code-coverage
to view the code coverage stats in the terminal as well as in a separate html page with more details.
The project is currently hosted on Firebase.
Link to view the project: Finding Falcone.
To use Firebase hosting, navigate into your project directory and use the below commands:
> ng build
> npm install -g firebase-tools
> firebase login
> firebase init
// Go through the options and select as necessary
> firebase deploy
// Successfully deployed!
> firebase open
// to open the web page