codeformadison's People
codeformadison's Issues
invalidation logic
the /user endpoint should be able to tell you that a token has expired and your app needs to re-login.
I've never tested the refresh token codepaths so that'd be good to at least try once :)
control scopes
There is a patch floating around for Django OAuth Toolkits to better manage scopes - pr #395. When that lands we should add it
add a real database&backups
SQLite right now. Maybe switch to postgres? or at least backup the SQLite file, since that's probably good enough for way more users than we're going to get anytime soon.
add mutations
The CFM data will be the backend for apps, so it should support storing data too, through an application. For example, it'd be nice to be able to say to alexa "save stop 1100 as square" and have that show up here.
celery backend for data.cityofmadison.com lookup
I tracked down the API call to lookup parcel info from the city's data site, but didn't implement it. There's a SQL looking version that's checked in, and there's a full-text search endpoint called $q that could work too, and would probably be better.
This needs to be handled in a backend process, so add celery to the setup.
tests
add some tests
"default" bus stop
There's a field for a "default" bus stop, which is helpful for the use case of like "Alexa, ask Madison what is my next bus"
Because there can be only one default, we'll have to hook into the save cycle and add some logic to turn the default off of any other stop if someone tries to save a stop with it set as 'default'
edit/remove bus stops
You can currently only add bus stops. They should get a full edit cycle.
add profile editing
I didn't bother with a form for actually creating a profile to get started, I just edited through the admin app. Users should be able to edit their address and such, however.
Ideally this would happen during account creation.
select bus stops via a map
Right now the bus stop selector is just enter in the text of a stopid. It'd be cool if there was an embedded map controller that let you select your stop.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.