System requirements
- Node.js: v18 or higher
- Python: 3.9 or higher
- Database: Supabase instance (PostgreSQL)
- Operating System: Linux, macOS, or Windows with WSL
Backend installation
The backend is built with FastAPI and powers the AI evaluation engine.Create a virtual environment
Create and activate a Python virtual environment:Activate the virtual environment:
Install Python dependencies
Install all required packages from Key dependencies include:
requirements.txt:- FastAPI: Web framework for the API
- Uvicorn: ASGI server
- Supabase: Database client
- Zyndai-agent: AI agent orchestration
- LangChain: LLM integration
- PyMuPDF: PDF parsing for resumes
- Passlib: Password hashing with bcrypt
- Pandas: Data processing for bulk uploads
Set up environment variables
Create a See the configuration guide for details on setting up environment variables.
.env file in the backend directory:Start the backend server
Launch the FastAPI server with hot reload:For production deployments:The API will be available at
http://localhost:8000Verify the installation
Test the backend by visiting:
- API root: http://localhost:8000
- Interactive API docs: http://localhost:8000/docs
- Alternative docs: http://localhost:8000/redoc
Frontend installation
The frontend is a React application built with Vite and TypeScript.Install Node.js dependencies
Install all required packages:Key dependencies include:
- React 19: UI framework
- Vite: Build tool and dev server
- TypeScript: Type safety
- Tailwind CSS: Styling framework
- React Router: Client-side routing
- Framer Motion: Animations
- Recharts: Data visualization
- Lucide React: Icon library
Start the development server
Launch the Vite development server:The application will be available at
http://localhost:5173AI agents installation (optional)
FairMatch AI includes specialized AI agents for enhanced evaluation capabilities.Ensure backend dependencies are installed
The AI agents use the same Python environment as the backend. Make sure you’ve completed the backend installation steps.
Start individual agents
From the
backend directory with your virtual environment activated, start each agent in a separate terminal:Verifying your installation
Once both the backend and frontend are running, verify your installation:- Frontend: Visit http://localhost:5173 and ensure the UI loads
- Backend API: Visit http://localhost:8000/docs and test the API endpoints
- Database connection: Check the backend logs for successful Supabase connection
- AI agents (if running): Check agent logs for successful registration with Zynd
Troubleshooting
Backend issues
- Import errors: Ensure your virtual environment is activated and all dependencies are installed
- Port already in use: Change the port with
--port 8001or stop the process using port 8000 - Database connection: Verify your Supabase credentials in the
.envfile
Frontend issues
- Module not found: Delete
node_modulesand reinstall dependencies - Port already in use: Vite will automatically suggest an alternative port
- Build errors: Ensure you’re using Node.js v18 or higher
Next steps
With FairMatch AI installed, continue to:- Configure your environment variables
- Learn about the application features
- Set up your first job listing