Skip to content

coderosh-zz/notesapp-rest-api

Repository files navigation

NOTES APP

  • Notes CRUD
  • Users CRUD
  • Validation
  • Encrypt Password and JWT token
  • Login
  • Protect Routes
  • Connect User and Notes
  • Invalid every previous tokens after password change
  • Logout From All Devices
  • Refresh token
  • Prevent NOSQL injection
  • Security headers and xss
  • HPP Attacks
  • Cors
  • Rate Limiting
  • Private notes security
  • Selecting
  • Sorting
  • Limit results
  • Pagination
  • Set Refresh Tokens in redis c

Later

  • Client

Success Response format 🤗

{
  "success": true,
  "...": "..."
}

Error Response format 🙄

{
  "success": false,
  "errors": [
    {
      "..."
    }
  ]
}