InvestMentor is a Django-based web application that helps users make smarter investment decisions.
It provides three main tools:
- Investment Planner – Generate personalized investment allocations based on experience level and monthly savings.
- Broker Comparison Tool – Compare Indian stock brokers across fees, reviews, UI, and support.
- AI-Powered Learning Roadmap – Uses LLaMA 2 via Ollama to create customized investment learning roadmaps based on current and target knowledge levels.
- Modern TailwindCSS UI with responsive design.
- Interactive charts for investment allocation (Chart.js).
- Dynamic broker comparison with scoring system.
- AI integration with LLaMA 2 to generate structured learning plans.
- Backend: Django (Python)
- Frontend: HTML, TailwindCSS, Chart.js, Vanilla JS
- AI Integration: LLaMA 2 via Ollama
- Database: SQLite (default, can be switched to PostgreSQL/MySQL)
- Clone the repo
git clone https://github.com/<your-username>/InvestMentor.git cd InvestMentor
- Setup virtual environment
python -m venv venv # On Windows source venv/bin/activate # On Mac/Linux
- Install dependencies
pip install Django pip install requests pip install chartjs
- Run database migrations
python manage.py migrate
- Start Django server
python manage.py runserver
- Now visit http://127.0.0.1:8000/
The AI Roadmap Generator depends on Ollama to run LLaMA locally.
- Install Ollama
- Download and install from Ollama.ai
- Verify installation:
ollama --version
- Pull the LLaMA 2 model
ollama pull llama2
- Run Ollama server
- In a separate terminal (before using roadmap):
ollama run llama2
This project is open-source under the MIT License.