Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Asbjorn Enge
    @asbjornenge
    Still waiting on a few folks to get back to me...
    But I think we might just have to do a "build it and they will come" sort of approach... at least have some basic functionality up and running so the different organization and volunteers can see what we are thinking...
    Brian Tomlinson
    @darthlukan
    Did you tell them that the idea is that it doesn't remain a "private" project? That it's meant to be freely, publicly available and that it's meant to be used as a tool that institutions can leverage?
    Yeah, sounds good
    Asbjorn Enge
    @asbjornenge
    Yeah, I send a reply soon...
    Other than that I'm quite busy this week preparing the React kurs I'm doing nov 02. (next monday), but after that I will have time to work on this! I think a React app with a postgres backend to start?
    If anyone want to take charge and start implementing an API I would not mind that ;-)
    I think my focus will be on the JS side of things...
    @darthlukan woah, this Ushahidi thing looks like a perfect fit!?
    Brian Tomlinson
    @darthlukan
    @asbjornenge do you have a preferred backend (other than node)? Like, if I start implementing something Python or Go, would that be an issue so far as API goes?
    Asbjorn Enge
    @asbjornenge
    written in php though... anyone with xp in that area? :-P
    Brian Tomlinson
    @darthlukan
    Yeah, I used to work PHP, but I can look at other language wrappers for it
    Asbjorn Enge
    @asbjornenge
    @darthlukan no, as long as I can talk REST with it I'm happy ;-)
    Brian Tomlinson
    @darthlukan
    sounds good, I'll see what I can whip up this evening
    at least to get something started
    Just for clarification: The backend should literally only be an API that returns RESTful JSON, everything else should be handled by consumers (UI)
    ?
    Asbjorn Enge
    @asbjornenge
    Cool :-) Take a look at this Ushahidi too... it might a great starting point... at least we can borrow some ideas!
    Brian Tomlinson
    @darthlukan
    Definitely :)
    Asbjorn Enge
    @asbjornenge
    Yeah, basic RESTful JSON API ftw :grin:
    Brian Tomlinson
    @darthlukan
    Okay, I have four projects that need my attention now (at work), I'll be back later :)
    Asbjorn Enge
    @asbjornenge
    It might be interesting to have a look at leveraging graphQL instead of building an API manually...
    Brian Tomlinson
    @darthlukan
    Yep
    Asbjorn Enge
    @asbjornenge
    I know I have seen implementations of it connected to a postgresql + es backend which is probably what we want ;-)
    Asbjorn Enge
    @asbjornenge
    look into json web tokens for auth...
    I don't like using services, but maybe https://auth0.com/ is a quickstarter...
    Brian Tomlinson
    @darthlukan
    there are libs that wrap federated / social logins for tokenized services, we shouldn't have to pay to send that to an external service for processing
    Asbjorn Enge
    @asbjornenge
    agree! we can start simpler too! just a service I stumbled across in the tweetstream :-)
    Brian Tomlinson
    @darthlukan
    Yeah, I think the key will be simplicity at first, from there, we can always expand as the need for more complex operations becomes more apparent
    So, super simple API implementation, easy to understand design, etc
    Brian Tomlinson
    @darthlukan
    @asbjornenge - If you check my fork, I've started a simple flask application as the back-end. Since we haven't really had a thorough discussion on how the whole project should be structured, I kept it as small and "hello world"-like as possible
    I'm thinking the API itself should be just that, a JSON API hosted somewhere, and the site should be separate
    realistically, the site could just be a simple semi-static something and the JS you'll be working up can then just consume from the API nodes as needed
    no sense in cluttering up either portion, just keep them separate and easily consumable/maintainable so that one getting an update does not affect the other
    Also, I used flask since it's easy to prototype with, but if you'd rather it was something else, I can get it rolling
    Asbjorn Enge
    @asbjornenge
    Nice :-) Flask seems like a good option! Yeah, we keep it separate - client js app and json api.
    But before we get started on making some models etc. we need to define what the project (mainly) should do and be... we need a basic feature set that we realistically can implement and get something out to validate the idea (if it helps and people can and want to use it etc.)
    Doesn't seem to be an option to get help or backing from organizations etc. at least not until we have anything to show...
    Maybe the best thing we could do is to just collect user generated content to help document what is happening by providing a simple interface/app to browse and publish content... Should we mainly focus on video content?
    Brian Tomlinson
    @darthlukan
    I think video is the sexy option that will get the most attention, but that we should also allow for text. As in, we'd start as a simple livestream service and then move onto the more "difficult" things, such as realtime mapping as things progress
    And I totally agree regarding defining what we actually want to do before going further (that's why I stopped at a single root handler, just to show the concept of a basic endpoint in flask)
    Elizabeth
    @Omeryl
    What's the current plan for language, Python or PHP? :stuck_out_tongue:
    Asbjorn Enge
    @asbjornenge
    @Omeryl Python (Flask) for the API and Javascript (React) for the app I guess? :-)
    @darthlukan ^
    Brian Tomlinson
    @darthlukan
    yep, Flask for the API
    sorry, been sick the last few days
    @asbjornenge - We need to plan a time to sit down and hash out what the initial functionality is going to entail so that I know what I'm building
    do you expect to have an evening this week that isn't Friday where we can meet up?
    Asbjorn Enge
    @asbjornenge
    @darthlukan hey man! Sorry! Been super busy and also been sick... + forgot :-P I got some "non-positive" feedback from different ogranization and individuals (involved with helping refugees) that kinda blew the wind out of me. Not sure I'll keep/start working in this...