Coming up with an initial structure

From our previous functionalities, we can abstract a couple of feature groups:

  • User (registering, log in/log out)
  • Post (creating, viewing, listing)

We could now just keep it very simple, and create all of the components in the src/ folder, without any nesting. However, since we already have quite a clear picture on the features that a blog application is going to need, we can come up with a simple folder structure now:

  • src/
  • src/user/
  • src/post/

After defining the folder structure, we can move on to the component structure.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.70.101