Skip to content

mhxx307/blog-app-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blog-app-api

deloy

routes

authRoute:

  • for login and register account

userRoute:

  • update your info account (username, password, email)
  • delete your account and all posts
  • get 1 user by id

postRoute

  • create post
  • delete post
  • update post
  • find post by id
  • find all posts - query username & category

categoriesRoute

  • create category
  • get all categories

controllers: create function to process all logic

models: use mongoose to create model for storage in mongoDB

diagram:

blog_diagram_mongo