Create a simple CRUD application with Angular that implements the below model:
Customer {
Firstname
Lastname
DateOfBirth
PhoneNumber
Email
BankAccountNumber
}
-
During Create; validate the phone number to be a valid mobile number only (use Google LibPhoneNumber to validate mobile number).
-
A Valid email and a valid account number must be checked before submitting the form.
-
Create a Browser local storage in to store list of customers.
-
Customers must be unique in database: By
Firstname,LastnameandDateOfBirth. -
Email must be unique in the local storage or memory array
Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.
Run ng e2e to execute the end-to-end tests via cypress & cucmber.
Run ng test to execute the unit tests via Karma.