Create a simple CRUD application with Node that implements the below models:
User {
firstName
lastName
emailAddress
phone
dateOfBirth
}
Task {
title
dueDate
description
ownerId
}
- Unit testing: Link 1, Link 2, Link 3
- Clean git commits that show your work progress.
- Use postgreSQL as database
- Each User can have multiple tasks
- When a User is deleted, its related tasks must be deleted as well
- During Create; validate all the fields (You can use Google's LibPhoneNumber to validate mobile number).
- Users must be unique in the database: By firstname, lastname, dateOfBirth, and phone.
Follow those steps to deliver your work:
- Properly clone this repository in a new GitHub repository in private mode. Make sure you do not erase previous commits (for code review purposes).
- Share the repository with the users
MuhammadKhalilzadeh
andgorkem-bwl
in private mode on github.com.
There are a few great links about Git, GitHub collaboration and naming convention. Make sure your read those documents before you start your work.