Politicate is a platform designed to make political education simple, accessible, and locally relevant. Staying informed about politics can be overwhelming, with complex policies, constant updates, and unclear information. Politicate breaks down these barriers by providing:
✅ Personalized Political Insights – Enter your postal code to find your municipal, provincial, and federal representatives.
✅ Policy Alignment Quiz – Discover where you stand politically by answering simple questions on key policies.
✅ Localized Political News – Get curated news articles and updates relevant to your region.
✅ AI-Powered News Assistant – Use an AI chatbot to summarize and ask questions about political news in a neutral, unbiased way.
Whether you're a student, a professional, or simply a concerned citizen, Politicate ensures that staying politically informed is easy and engaging.
Before running Politicate, make sure you have the following installed:
Official UV Installation Guide
curl -LsSf https://astral.sh/uv/install.sh | shInstall Node.js from nodejs.org, which includes npm.
Verify installation:
node -v # Check Node.js version
npm -v # Check npm version 1️⃣ Navigate to the backend folder:
cd backend2️⃣ Create a .env file inside backend/ and add the following:
PSE_API_KEY=your-api-key
GOOGLE_CLOUD_API_KEY=your-api-key
SUPABASE_PROJECT_URL=your-url
SUPABASE_API_KEY=your-api-key
SUPABASE_SERVICE_KEY=your-service-key
OPENAI_API_KEY=your-api-key3️⃣ Install dependencies and run the backend:
uv run fastapi dev # Start the FastAPI server The backend runs on http://localhost:8000.
1️⃣ Navigate to the frontend folder:
cd frontend2️⃣ Create a .env.local file inside frontend/ and add the backend URL:
NEXT_PUBLIC_SUPABASE_URL=your-url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-key3️⃣ Install dependencies and start the frontend:
npm install
npm run devThe frontend runs on http://localhost:3000.
This project is open-source under the MIT License.