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.