tlatawiec/PoliTracker ? reverse-engineered prompt

Reverse engineered prompt

Build me a Rust web app called PoliTracker that lets people look up stock trades made by politicians and filter them in a few different ways.

I want the main part to be a simple API with endpoints for things like a politician name, issuer name, buy or sell type, trade size, price over or under a value, no price, and recent trades by publish date or traded date. It should return clean JSON with fields like politician name, party, position, state, price, publish date, reporting gap, size, trade issuer, traded date, and trade type.

Make it feel like a real usable service, with sensible routes and helpful responses when something is missing or invalid. If you need current Rust web crate docs or examples, look them up online. If it makes sense, include a small placeholder for the planned Twitter bot part too, but the API is the main thing. Please set up the project so it runs cleanly and is easy to extend later.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab