/my-favourite-series

An angular application to demonstrate CRUD operation using in-memory api so as to stimulate REST api

Primary LanguageTypeScript

My Favourite Series

This angular app is created to demonstrate CRUD operation using in-memory API (to simulate REST api). It has been hosted online at https://dayanandraut.github.io/my-favourite-series/series

Major concepts used in this project are:

  1. Setting up angular project
  2. Installing and configuring in-memory-angular-web-api
  3. Installing and configuring bootstrap and font-awesome
  4. Components and services
  5. Directives
  6. Forms and Data Binding
  7. Routing

This project was generated with Angular CLI version 7.3.9.

Important Instructions

Important commands and instructions have been mentioned in the file important commands.txt for installing various modules, configuring them, putting project on github and for deploying the project on github

Development server

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.

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

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Project Status

The project's main aim has been completed. However, few enhancements are yet to be done. Future enhancements include:

  1. Validation and error message in the form
  2. Design of footer - aligning it to the buttom of page
  3. Aliging the content of delete component to the center of page
  4. Adding search functionality

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.