Skip to content

ahengine/flutter-crud-test

 
 

Repository files navigation

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 that implements the below model:

Customer {
	Firstname
	Lastname
	DateOfBirth
	PhoneNumber
	Email
	BankAccountNumber
}

Practices and patterns (Must)

Clean Architecture (Must)

Validations (Must)

  • During Create; validate the phone number to be a valid mobile number only (You can use Google LibPhoneNumber to validate number at the backend).

  • A Valid email and a valid account number must be checked before submitting the form.

  • Customers must be unique in database: By Firstname, Lastname and DateOfBirth.

  • Email must be unique in the database.

Storage (Must)

  • Use database of choise to store data.

  • Store the phone number in a database with minimized space storage (choose varchar/string, or Uint64 whichever store less space).

Submit your result

Please clone this repository in a new github repository in private mode and share with ID: mason-chase in private mode on github.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 47.3%
  • CMake 22.4%
  • Dart 15.5%
  • HTML 11.1%
  • C 2.1%
  • Swift 1.1%
  • Other 0.5%