https://github.com/coderosh/notesapp-rest-api
Rest api for notesapp
https://github.com/coderosh/notesapp-rest-api
Last synced: 11 months ago
JSON representation
Rest api for notesapp
- Host: GitHub
- URL: https://github.com/coderosh/notesapp-rest-api
- Owner: coderosh
- License: mit
- Created: 2021-01-26T16:57:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-26T16:58:29.000Z (almost 5 years ago)
- Last Synced: 2025-01-22T12:45:33.960Z (about 1 year ago)
- Language: TypeScript
- Size: 69.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## NOTES APP
- [x] Notes CRUD
- [x] Users CRUD
- [x] Validation
- [x] Encrypt Password and JWT token
- [x] Login
- [x] Protect Routes
- [x] Connect User and Notes
- [x] Invalid every previous tokens after password change
- [x] Logout From All Devices
- [x] Refresh token
- [x] Prevent NOSQL injection
- [x] Security headers and xss
- [x] HPP Attacks
- [x] Cors
- [x] Rate Limiting
- [x] Private notes security
- [x] Selecting
- [x] Sorting
- [x] Limit results
- [x] Pagination
- [x] Set Refresh Tokens in redis c
## Later
- [ ] Client
### Success Response format 🤗
```json
{
"success": true,
"...": "..."
}
```
### Error Response format 🙄
```json
{
"success": false,
"errors": [
{
"..."
}
]
}
```