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.