How ronikok/fish-blog works
Fish-blog is a fishing community site with a fish catalog and rating feature, plus a user forum and account profiles. Visitors browse, search, and sort fish; signed-in users can submit or remove ratings. Forum users browse and search posts, like them, and read or add replies; profiles expose account and personal-post actions. The Express server handles these API requests, using authentication helpers and a PostgreSQL connection. The README gives no further product detail, and unsampled UI and server code limit evidence for some capabilities and links.
Main entry points: db.js Database connection · index.js Fish catalog UI · forum.js Forum UI · profile.js Profile UI
Components 13
Web interface
- Fish catalog UI
frontend/js/index.js - Forum UI
frontend/js/forum.js - Profile UI
frontend/js/profile.js - Shared navigation
frontend/js/navbar.js - Fish rating modal
frontend/components/fishcard-modal.html - Comments modal
frontend/components/comments-modal.html
Community features
- Fish ratings API
backend/Server/index.js - Posts and replies API
backend/Server/index.js
Accounts
- Account API
backend/Server/index.js - Authentication helpers
backend/Server/helpers/authHjelper.js
Server and persistence
- Database connection
backend/Server/helpers/db.js - PostgreSQL
Other components
- Visitor / user
Connections 16
- Visitor / user → Fish catalog UI: browses
- Visitor / user → Forum UI: uses
- Visitor / user → Profile UI: manages account
- Fish catalog UI → Fish ratings API: fetches and rates
frontend/js/index.js - Fish catalog UI → Fish rating modal: loads
frontend/js/index.js - Forum UI → Posts and replies API: loads and updates
frontend/js/forum.js - Forum UI → Comments modal: loads
frontend/js/forum.js - Profile UI → Account API: manages account
frontend/js/profile.js - Profile UI → Posts and replies API: loads and deletes posts
frontend/js/profile.js - Shared navigation → Visitor / user: shows navigation
- Fish ratings API → Database connection: queries
backend/Server/index.js - Posts and replies API → Database connection: queries
backend/Server/index.js - Account API → Database connection: queries
backend/Server/index.js - Account API → Authentication helpers: registers and authenticates
backend/Server/index.js - Authentication helpers → Database connection: queries
backend/Server/helpers/authHjelper.js - Database connection → PostgreSQL: queries
backend/Server/helpers/db.js