VID, short for Virtual Instructional Droid, is a full-stack web application designed to serve as a powerful assistant for solving educational programming tasks. It incorporates the JetBrains AI Grazie API to enhance the user experience. The frontend is developed using Angular, and the backend is implemented in Python with Flask. MongoDB is utilized as the database to store essential information.
- Node.js and npm
- Python (3.6 or higher)
- MongoDB
- JetBrains AI Grazie API key (obtain it here)
-
Navigate to the
backend
directory:cd backend
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install dependencies using
requirements.txt
:pip install -r requirements.txt
-
Set up the environment variables:
export FLASK_APP=app export FLASK_ENV=development export GRAZIE_API_KEY=your_jetbrains_api_key
-
Run the Flask application:
flask run
-
Navigate to the
frontend
directory:cd frontend
-
Install Angular CLI (if not already installed):
npm install -g @angular/cli
-
Install project dependencies:
npm install
-
Run the Angular development server:
ng serve
Once both the backend and frontend servers are running, access the application by navigating to http://localhost:4200 in your web browser.
This project is licensed under the MIT License.