populist-vote / platform Goto Github PK
View Code? Open in Web Editor NEWPopulist API
Home Page: https://api.populist.us
Populist API
Home Page: https://api.populist.us
So we can filter elections by state when browsing elections on My Ballot (should pull from the user's address)
be sure to update Web to accommodate
the General Election should be accessible across all states
Right now on a user's voting guide, the races are not ordered in the same way that they are ordered on their My Ballot page e.g. in the following order: Governor, Lieutenant Governor, Secretary of State, Attorney General, Treasurer, State Auditor
Make it so that they are in the same order across the platform
Right now, the api will throw CORS errors if the clients JWT has expired, rendering a blank screen for the user. We need to have the api simply delete the existing expired token so the user is prompted to login again.
An images
object with urls in various resolutions for the politician:
politicianBySlug(slug: "michael-bennet") {
images {
thumbnail160
thumbnail400
someOtherImageName640
}
}
Right now there is only a thumbnail_image_url
column on the politician
table, so a migration will be needed, perhaps we make an assetUrls
jsonb column to hold these urls?
Right now, Postgres won't allow you to simply delete a user because of the fk constraint on the user_profile. Add a delete cascade to ensure that deleting a populist_user
also deletes their user_profile
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.