A full-stack web application that provides technical insights and analysis capabilities. This project consists of a React-based frontend and a Python-powered backend, working together to deliver a seamless user experience.
technical_insight_tool/
├── frontend/ # React + TypeScript frontend application
└── backend/ # Python backend API server
Before running the project, ensure you have the following installed:
- Node.js (v16 or higher) and npm
- Python 3.10 or higher
- pip (Python package manager)
- Navigate to the frontend directory and install dependencies:
cd frontend && npm installThis command:
- Changes directory to the frontend folder
- Installs all required Node.js dependencies defined in package.json
- Start the frontend development server:
npm run devThis command:
- Launches the Vite development server
- Enables hot module replacement for real-time updates
- Makes the application available at http://localhost:5173
- Navigate to the backend directory:
cd backendThis command:
- Changes directory to the backend folder
- Create a Python virtual environment:
python3.10 -m venv backend_venvThis command:
- Creates an isolated Python environment named 'backend_venv'
- Ensures project dependencies don't conflict with system Python packages
- Activate the virtual environment:
source backend_venv/bin/activateThis command:
- Activates the isolated Python environment
- Prepares the shell to use the project-specific Python installation
- Install Python dependencies:
pip install -r requirement.txtThis command:
- Installs all required Python packages listed in requirement.txt
- Sets up the backend environment with necessary libraries
- Start the backend server first (from the backend directory):
python app.py # or the appropriate entry point command- Start the frontend development server (from the frontend directory):
npm run dev- Open your browser and navigate to http://localhost:5173 to access the application
- The frontend runs on port 5173 by default
- The backend API server typically runs on port 5000
- Make sure both frontend and backend are running simultaneously for full functionality
- Any changes to the frontend code will automatically trigger a hot reload