How jitin2102/skillgreen works
SkillGreen is an ESG career-readiness assessment platform. A professional uses the React assessment experience to submit structured profile attributes; the FastAPI endpoint validates them, invokes the prediction model, and returns readiness, confidence, ESG pillar scores, and the weakest pillar. Authenticated assessments are saved for the dashboard’s history and profile features. Separate capabilities cover account/password and OTP access, profile management, and resume upload and text extraction. Feature-engineering and model behavior are described in the README; unsampled implementation details are represented only where the tree supports a path.
Main entry points: app.py FastAPI application · resume.py Resume routes · routes.py Authentication routes · database.py Database session
Components 22
Web client
- Route application
frontend/src/App.jsx - Readiness form
frontend/src/pages/Predictor.jsx - Profile dashboard
frontend/src/pages/Dashboard.jsx - Login and registration
frontend/src/pages/Login.jsx - Auth context
frontend/src/context/AuthContext.jsx - API client
frontend/src/lib/api.js
API and domain
- FastAPI application
app.py - Profile routes
routes/profile.py - Resume routes
routes/resume.py - Resume text parser
resume/parser.py
Identity
- Authentication routes
auth/routes.py - Token and OTP security
auth/security.py - User dependencies
auth/dependencies.py
Assessment engine
- Input validation
schema/user_input.py - Assessment response
schema/response_model.py - Prediction service
model/predict.py - Trained model
model/model.pkl
Persistence
- Database session
db/database.py - Account and assessment records
db/models.py - Resume files
routes/resume.py
Other components
- Professional
- Email delivery
Connections 32
- Professional → Route application: uses
- Route application → Readiness form: routes to
- Route application → Profile dashboard: routes to
- Route application → Login and registration: routes to
- Readiness form → API client: submits assessment
- Profile dashboard → API client: loads and saves
- Login and registration → Auth context: authenticates through
- Auth context → API client: requests tokens
- API client → FastAPI application: sends API requests
- FastAPI application → Input validation: validates input
- FastAPI application → Prediction service: requests prediction
- Prediction service → Trained model: loads model
- FastAPI application → Assessment response: returns result
- FastAPI application → Database session: opens session
- FastAPI application → Account and assessment records: saves assessment
- FastAPI application → Profile routes: includes routes
- FastAPI application → Resume routes: includes routes
- FastAPI application → Authentication routes: includes routes
- Profile routes → Database session: uses session
- Profile routes → Account and assessment records: reads and writes
- Resume routes → User dependencies: requires user
- Resume routes → Database session: uses session
- Resume routes → Account and assessment records: reads and writes
- Resume routes → Resume files: writes files
- Resume routes → Resume text parser: extracts text
- Authentication routes → Database session: uses session
- Authentication routes → Account and assessment records: reads and writes
- Authentication routes → Token and OTP security: checks and issues credentials
- Authentication routes → Email delivery: sends OTP
- User dependencies → Database session: uses session
- User dependencies → Account and assessment records: loads user
- User dependencies → Token and OTP security: verifies token