How enes-sen/frontend-blog works
FistBlog is a React/Redux blog frontend. Visitors enter the routed app, browse posts, open a post, and can publish posts or add comments; Redux actions coordinate API requests and update client state. The sampled source shows the UI routes and request ownership. The README is empty, so backend behavior beyond the API endpoints is not described here.
Main entry points: postActions.js Post Actions · App.js App Routes · SinglePost.js Post Detail · index.js App Entry
Components 15
App and Navigation
- App Entry
src/index.js - App Routes
src/components/root/App.js - Navigation
src/components/navi/navi.js
Post Experience
- Post List
src/components/post/postsList.js - Post Detail
src/components/post/SinglePost.js - Post Form
src/components/forms/AddpostForm.js - Comment Form
src/components/forms/AddCommentForm.js - Comment List
src/components/post/CommentList.js
State and Requests
- Post Actions
src/redux/actions/postActions.js - Action Types
src/redux/actions/actionTypes.js - Post State
src/redux/reducers/postReducer.js - Redux Store
src/redux/reducers/config.js - API Client
src/api/api.js
Remote Service
- Blog API
Other components
- Visitor
Connections 20
- Visitor → App Entry: opens
- App Entry → App Routes: renders
src/index.js - App Entry → Redux Store: provides
src/index.js - App Routes → Navigation: renders
src/components/root/App.js - App Routes → Post List: routes to
src/components/root/App.js - App Routes → Post Detail: routes to
src/components/root/App.js - App Routes → Post Form: routes to
src/components/root/App.js - Post List → Post Actions: dispatches fetch
src/components/post/postsList.js - Post Detail → Post Actions: dispatches fetch/delete
src/components/post/SinglePost.js - Post Detail → Comment Form: renders
src/components/post/SinglePost.js - Post Detail → Comment List: renders
src/components/post/SinglePost.js - Post Form → Post Actions: dispatches create
src/components/forms/AddpostForm.js - Comment Form → Post Actions: dispatches create
src/components/forms/AddCommentForm.js - Comment List → Post Actions: dispatches fetch
src/components/post/CommentList.js - Post Actions → API Client: calls
src/redux/actions/postActions.js - API Client → Blog API: sends requests
src/api/api.js - Post Actions → Action Types: uses
src/redux/actions/postActions.js - Post State → Action Types: handles
src/redux/reducers/postReducer.js - Redux Store → Post State: combines
- Post Actions → Post State: dispatches updates