Skip to content

bluewave-labs/crud-test-nodejs-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CRUD Test: Nodejs & PostgreSQL

Create a simple CRUD application with Node that implements the below models:

User {
    firstName
    lastName
    emailAddress
    phone
    dateOfBirth
}

Task {
    title
    dueDate
    description
    ownerId
}

Practices and patterns


Help

  • Use postgreSQL as database
  • Each User can have multiple tasks
  • When a User is deleted, its related tasks must be deleted as well

Validations

  • 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.

Delivery

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 and gorkem-bwl in private mode on github.com.

Useful links

There are a few great links about Git, GitHub collaboration and naming convention. Make sure your read those documents before you start your work.

About

CRUD tasks for Nodejs and PostgreSQL

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors