How mansibhole/career-recommender works
This is a Flask career-recommendation app. Users can sign up and log in, submit skills, interests, and marks for a career prediction, and view saved predictions on a dashboard. A separate training script reads the dataset, trains a decision-tree classifier, and saves the model and encoders for the app to load. The excerpts show route, template, model, and database interactions; template contents and database schema were not provided.
Main entry points: app.py Prediction route · model.py Model training · index.html Home page · model.pkl Trained model
Components 16
Web and accounts
- Home route
app.py - Signup route
app.py - Login route
app.py - Logout route
app.py - Dashboard route
app.py - Home page
templates/index.html - Signup page
templates/signup.html - Login page
templates/login.html - Dashboard page
templates/dashboard.html
Career recommendation
- Prediction route
app.py - Model training
model.py - Training dataset
dataset.csv - Trained model
model.pkl - Career result
app.py
Prediction storage
- MySQL database
Other components
- User
Connections 19
- User → Home route: opens
app.py - Home route → Home page: renders
app.py - User → Signup route: submits
app.py - Signup route → Signup page: renders
app.py - Signup route → MySQL database: inserts user
app.py - User → Login route: submits
app.py - Login route → MySQL database: checks credentials
app.py - Login route → Login page: renders
app.py - User → Prediction route: submits inputs
app.py - Prediction route → Trained model: loads
app.py - Prediction route → Career result: predicts career
app.py - Prediction route → MySQL database: saves prediction
app.py - Career result → Home page: renders result
app.py - User → Dashboard route: opens
app.py - Dashboard route → MySQL database: reads predictions
app.py - Dashboard route → Dashboard page: renders data
app.py - User → Logout route: requests
app.py - Model training → Training dataset: reads
model.py - Model training → Trained model: writes
model.py