user can create one or many notes and edit them (Update, Delete)
=>API: has all roots in the project (endpoints)
- User-routes
- Notes-routes
=>Config: has Connection of Database
=>Middleware: Check all request has come
- Authentication=> Before doing any action in your notes we Check the token if it's the same token login
- Validation=>Check if the Date is Valid or not
=>Models: All collections we have in my project, we have 2 collection
-
User-Model
- name
- password
- age
-
Notes-Model
- title
- description
- createdBy
=>Services: all Services of endpoints
- login
- sign in
- signup
- Notes-Model
- Add Notes
- Delete Notes
- Update Notes
- Get all Notes
- Get all Notes of any User