This project is a hands-on learning experience to master JavaScript and the Angular framework. It serves as a personal playground for experimenting with Angular features, exploring best practices, and building a functional application from scratch.
The goal of this project is to learn more about new features of angular. This will involve:
- Setting up an Angular development environment.
- Creating components, services, and modules.
- Implementing routing for navigation.
- Managing application state.
- Interacting with a mock or real API for data.
- Writing unit and end-to-end tests.
- Node.js (which includes npm)
- Angular CLI
- Clone the repository:
git clone https://github.com/BeMrTeal/angular-pet-project.git
- Navigate to the project directory:
cd angular-pet-project - Install the dependencies:
npm install
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.
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 ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.