work flow

  • API --> URL
    • login()
    • getPostList()
    • getPostById(id)
    • createPost()
    • updatePost(id)
    • getCommentList(postId)
    • createComment()
  • Request
    • put
    • get
    • post
  • Project Structure
    • components
    • containers
    • images
    • redux
      • modules
      • configureStore.js
    • utils
    • index.js
    • state.js
  • state design
    • posts
      • byId
      • allIds
    • comments
      • byPost
      • byId
    • users
    • app
      • requestQuantity
      • error
    • auth
      • username
      • userId
    • ui
      • addDialogOpen
      • editDialogOpen
  • module design
    • app
    • auth
    • posts
    • comments
    • users
    • ui
    • index
  • component Xmind map
  • Router design
  • code