https://github.com/mohsenshahbazi/crud-test-angular
this is crud test angular for test and share with mason-chase
https://github.com/mohsenshahbazi/crud-test-angular
angular javascript typescript
Last synced: 3 months ago
JSON representation
this is crud test angular for test and share with mason-chase
- Host: GitHub
- URL: https://github.com/mohsenshahbazi/crud-test-angular
- Owner: MohsenShahbazi
- Created: 2023-04-24T10:03:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-03T20:59:47.000Z (about 3 years ago)
- Last Synced: 2025-03-04T10:13:09.631Z (over 1 year ago)
- Topics: angular, javascript, typescript
- Language: TypeScript
- Homepage:
- Size: 487 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CRUD Code Test
Please read each note very carefully!
Feel free to add/change project structure to a clean architecture to your view.
and if you are not able to work on FrontEnd project, you can add a Swagger UI
in a new Front project.
Create a simple CRUD application with Angular that implements the below model:
```
Customer {
Firstname
Lastname
DateOfBirth
PhoneNumber
Email
BankAccountNumber
}
```
## Practices and patterns (Must):
- [TDD](https://angular.io/guide/testing) [Wiki](https://en.wikipedia.org/wiki/Test-driven_development)
- [DDD](https://en.wikipedia.org/wiki/Domain-driven_design)
- [BDD](https://en.wikipedia.org/wiki/Behavior-driven_development)
- Clean git commits that shows your work progress.
### Validations (Must)
- During Create; validate the phone number to be a valid *mobile* number only (You can use [Google LibPhoneNumber](https://github.com/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`, `Lastname` and `DateOfBirth`.
- Email must be unique in the local storage or memory array
### Delivery (Must)
- Please clone this repository in a new github repository in private mode and share with ID: `mason-chase` in private mode on github.com, make sure you do not erase my commits and then create a [pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests) (code review).