Skip to content

mdkamranalam/PitchLens-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PitchLens-AI

PitchLens-AI is a full-stack web application that analyzes startup pitch decks and generates actionable insights for venture capitalists. It extracts key sections (Team, Market, Product/Traction) from uploaded PDFs, enriches them with dummy public data, and uses AI to produce detailed analyses (summary, SWOT, risks).

Tech Stack

  • Frontend: ReactJS
  • Backend: FastAPI (Python)
  • Database: MongoDB
  • AI: Hugging Face Models (BART for summarization, DistilGPT-2 for risk generation)

Setup Instructions

Prerequisites

  • Node.js (v18+)
  • Python 3.9+
  • MongoDB Atlas account (cloud database)
  • Git

Installation

  1. Clone the Repository:
git clone https://github.com/mdkamranalam/PitchLens-AI.git
cd PitchLens-AI
  1. Frontend Setup:
  • Navigate to the frontend diractory:
cd frontend
  • Install dependencies:
npm install
  • Start the developmetn server:
npm run dev
  1. Backend Setup:
  • Navigate to the backend diractory:
cd backend
  • Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  • Install dependencies:
pip install -r requirements.txt
  • Start the FastAPI server:
uvicorn main:app --reload
  1. Database Setup with MongoDB Atlas:
  • Create a .env file in backend/
MONGO_URI=mongodb+srv://pitchlens_user:<password>@cluster0.mongodb.net/pitchlens?retryWrites=true&w=majority
HF_TOKEN=your_huggingface_api_token_here
FRONTEND_URL=http://localhost:5173

NOTE: There is .env.example is available in both frontend/ and backend/. You can refer this example for your .env/ files.