How lexih209/bulletinboard works
BulletinBoard is a campus events board: students register or log in, browse and filter flyers, view details, and create, edit, or delete postings. The React routes call an Express API, which handles authentication/session checks and flyer operations against SQLite; flyer creation also supports image uploads. Documented admin controls and filtering are represented, but their unsampled details are not expanded. Relationships follow the shown frontend fetches, route declarations, and backend database usage; only excerpts and README claims were available.
Main entry points: server.js Express API · App.tsx Route application · FlyerDetails.tsx Flyer details · BulletinBoard.tsx Flyer board
Components 13
Student experience
- Route application
frontend/src/App.tsx - Login
frontend/src/pages/Welcome.tsx - Registration
frontend/src/pages/Register.tsx - Flyer board
frontend/src/pages/BulletinBoard.tsx - Flyer details
frontend/src/pages/FlyerDetails.tsx - Flyer upload
frontend/src/pages/UploadFlyer.tsx - Flyer editing
frontend/src/pages/EditFlyer.tsx
API and access
- Express API
backend/server.js - Authentication
backend/server.js - Flyer operations
backend/server.js - Image uploads
backend/server.js
Flyer data
- SQLite database
backend/database.js
Other components
- Student
Connections 23
- Student → Route application: uses
- Route application → Login: routes to
frontend/src/App.tsx - Route application → Registration: routes to
frontend/src/App.tsx - Route application → Flyer board: routes to
frontend/src/App.tsx - Route application → Flyer details: routes to
frontend/src/App.tsx - Route application → Flyer editing: routes to
frontend/src/App.tsx - Route application → Flyer upload: routes to
frontend/src/App.tsx - Login → Express API: posts login
frontend/src/pages/Welcome.tsx - Registration → Express API: posts registration
frontend/src/pages/Register.tsx - Flyer board → Express API: fetches flyers
frontend/src/pages/BulletinBoard.tsx - Flyer board → Flyer details: links to
frontend/src/pages/BulletinBoard.tsx - Flyer board → Express API: posts logout
frontend/src/pages/BulletinBoard.tsx - Flyer details → Express API: fetches details
frontend/src/pages/FlyerDetails.tsx - Flyer details → Express API: checks admin
frontend/src/pages/FlyerDetails.tsx - Flyer details → Express API: deletes flyer
frontend/src/pages/FlyerDetails.tsx - Flyer details → Flyer editing: links to edit
frontend/src/pages/FlyerDetails.tsx - Flyer upload → Express API: submits flyer
frontend/src/pages/UploadFlyer.tsx - Flyer editing → Express API: loads and updates
frontend/src/pages/EditFlyer.tsx - Express API → Authentication: handles sessions
backend/server.js - Express API → Flyer operations: dispatches routes
backend/server.js - Flyer operations → SQLite database: reads and writes
backend/server.js - Authentication → SQLite database: queries users
backend/server.js - Flyer operations → Image uploads: accepts image
backend/server.js