Environment Variables
The platform requires specific environment variables to function properly. Create a.env file in the root be directory.
Environment Variables Reference
Your Mistral API key for AI-powered features. Get your API key from the Mistral Console.
Flask application secret key for session management. Generate a secure random string.Default:
your-secret-key-here (change this in production)Secret key for JSON Web Token authentication. Should be different from SECRET_KEY.Default:
your-jwt-secret-key-here (change this in production)The Mistral model to use for AI responses.Default:
mistral-large-latestDatabase Configuration
The platform uses SQLite as its database, configured automatically through Flask-SQLAlchemy.Database Settings
The following database settings are defined inbackend/config.py:
Database Initialization
The database is automatically initialized when you first run the backend application. The database file will be created at
instance/interview_prep.db.- The
backend/instancedirectory is created automatically - The SQLite database file
interview_prep.dbis initialized - All required tables are created based on your models
First-Time User Setup
The database starts fresh with no users. You must Sign Up a new user account through the application UI to begin using the platform.
Configuration Files
The platform uses several configuration files stored in theconfig/ directory:
Topic Rules Configuration
Location:config/topic_rules.json
Defines rules and mappings for categorizing interview questions by topic.
Taxonomy Configuration
Location:config/taxonomy.json
Defines the hierarchical structure of topics and subtopics for the knowledge base.
Additional Settings
File Upload Configuration
The following settings control file uploads (resumes, documents):Directory for storing uploaded files.Default:
uploadsMaximum file upload size in bytes.Default:
16777216 (16 MB)JWT Token Settings
Expiration time for JWT access tokens.Default:
24 hoursRAG System Paths
The Retrieval-Augmented Generation (RAG) system uses the following path configurations:Configuration complete! Next, proceed to Data Indexing to build your knowledge base.