How mianayaan0316/research-opportunity-portal works
Research Opportunity Portal is a web application for creating, browsing, viewing, editing, closing, and deleting research opportunities. The principal workflow runs from the browser interface through the Express API to MySQL-backed opportunity records, with API-side validation and error handling. The frontend performs client-side form checks and displays returned data; the API validates requests and issues SQL queries. The excerpts show the browser/API and server/database wiring, but provide no schema or README capability details beyond the product name.
Main entry points: server.js Express server · db.js MySQL connection pool · app.js Opportunity interface · opportunities.js Opportunity API
Components 6
Browser interface
- Opportunity interface
frontend/app.js
API service
- Express server
backend/server.js - Opportunity API
backend/routes/opportunities.js
Data persistence
- MySQL connection pool
backend/db.js - Opportunity records
database/schema.sql
Other components
- Portal user
Connections 6
- Portal user → Opportunity interface: uses
- Opportunity interface → Express server: sends API requests
frontend/app.js - Express server → Opportunity API: mounts routes
backend/server.js - Express server → MySQL connection pool: checks connection
backend/server.js - Opportunity API → MySQL connection pool: queries records
backend/routes/opportunities.js - MySQL connection pool → Opportunity records: connects to
backend/db.js