Skip to content

mody19765/User-Notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User-Notes

user can create one or many notes and edit them (Update, Delete)

Structure

=>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
    • email
    • 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