quarantine-help / quarantine-help-api Goto Github PK
View Code? Open in Web Editor NEWA really wishful project to help quarantined people find help out there. Handling COVID-19 now
Home Page: http://docs.quarantinehelp.space
License: MIT License
A really wishful project to help quarantined people find help out there. Handling COVID-19 now
Home Page: http://docs.quarantinehelp.space
License: MIT License
As a developer, I want to have unit tests in place so I can be sure I'm not breaking anything.
We should probably have it in /api/v1/me/assigned-requests/
? Probably should support some basic update works (change of status, cancellation), etc.
Create FAQ section in README and add errors faced with during local setup of the project on Windows to it as suggested. I'm working on it.
Probably a set of APIs like:
GET /api/v1/me/
PATCH /api/v1/me/
?
We use djagno rest framework TokenAuthentication flow : https://www.django-rest-framework.org/api-guide/authentication/#tokenauthentication
However, this is a 1 token per user, no expiration protocol. There is a hack to get it expire. Eg: https://stackoverflow.com/a/15380732
Lets do it.
Sadly, we dont have an error format set. Probably we can use some of the DRF in-house stuff. Right now, raise Exception() from the bakcend raises a 500 and thats it.
We return a lot of sensitive information there for the mapview. I would assume we might want to minimally do the following:
We need it to track issues coming up.
Some tips:
Steps:
I dont know if digitalocean is going to give us something out of the box. Otherwise, we might want to invest sometime in techniques django supports, etc.
We dont have this at this point.
An errand workflow:
We must send a notification (via E-mail?) to the HL participant that someone has started working on it.
https://github.com/bstarynk/helpcovid
Basile Starynkevitch (near Paris, France)
Currently we have some deploy scripts in deploy_scripts/
. Django migrations are always a headache while continuous CI/CD on django, but lets see what we can build ?
Hi,
It would be better if we also add install instructions for windows as well
Django prints out weird stuff to the frontend, like "2020-04-04T11:17:37.784674Z",
Lets push it to ISO format "2019-09-27T11:01:41.928158+00:00",
So right now the docs at http://docs.quarantinehelp.space/#/ is served from https://github.com/Quarantine-Help/quarantine-help-api/tree/master/docs/openapi.json
We have to edit the yaml over an editing service like https://editor.swagger.io/ and then convert it to JSON and update both files. This is kind of sad that we have to maintain two files. How about we only care about the YML file and some script takes care of keeping the JSON in sync ?
This should operate on participants and we have the lat and long there to work on.
We do not have this yet at at:
api/v1/crises/1/affected-participants/<participant_id>/requests/<request_id>/
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.