django-rea / rea-app

Multi-platform UI application for OVN (Open Value Network) & REA (Resource / Event / Agent) backends- including Sensorica NRP, FreedomCoop OCP, GoPacifica DEEP & eventually django-rea project.
16 stars 6 forks source link

Unable to access /api/graph #62

Open SeemaSP opened 7 years ago

SeemaSP commented 7 years ago

I have setup rea-app and also ran the dev server. But when I access via 0.0.0.0:3000,it gives the following error:

request to http://localhost:8000/api/graph failed, reason: connect ECONNREFUSED 127.0.0.1:8000 From this I do realize that the api service is not there, but what to install? What is the application that provides that service?

ivanminutillo commented 7 years ago

have you run the server from api-extension branch?

SeemaSP commented 7 years ago

I could't find that branch in the dropdown?

bhaugen commented 7 years ago

@SeemaSP we're really happy to see other people looking at what we are doing here, but it's early days of a complex project that is only beginning to be deployed in its first test environment. As I said in the other issue you raised in the nrp repo, if we knew more about what you wanted to do, we could communicate more clearly (I think...)

SeemaSP commented 7 years ago

I am a django developer and wish to learn more about NRP. I am trying to setup this project on my local machine but am unable to do so as I am unable to determine which django version has been used? Also I am versed with django> 1.9 so looking at south packages makes me wonder weather it is django<1.4 or ? More importantly, this repo is a good example of django and typescript work together(I am a typescript newbie). I would appreciate your help on this as I would like to contribute to this repo as well.

bhaugen commented 7 years ago

@SeemaSP this is great! We're thinking about how to include you. Is your interest mostly technical (django, typescript, graphql etc), or are you interested also in what we are trying to do with economic networks? If that's not a clear question, that introduction I posted in the other repo and will repeat here might help explain: http://rea-project.readthedocs.io/en/latest/intro.html

If you are interested in the economic network domain, I'll add more links. But if you are only interested in the technical aspects, that's good too.

SeemaSP commented 7 years ago

Well actually its kind of both, because I wouldn't be able to understand what to do unless I know what the domain is and its requirements are. Honestly, I have experience in building systems in learning domain. For e.g. LMS following SCORM specs or xapi specs. But I had no prior experience in that domain either(like the xapi spec) and made my way through the application only after I had understood about it. So yes, I am interested in both the domain and the technical aspects of it.

bhaugen commented 7 years ago

Here's more than you want to know about the domain:

Would be interesting to compare notes between what we are doing here and xapi (which I understand used to be called the tincan api, which I loved...)

SeemaSP commented 7 years ago

Ok. It would take a day(or two maybe) to go through and understand the contents in the links given (Please bear with me as I am new to this domain). But I would be more than happy to share my notes on xapi spec. If you do get time, you can checkout the issues section of "xapi-launch" github repo. It might give you a better idea of the kind of work I have done so far(maybe).

bhaugen commented 7 years ago

It would take a day(or two maybe) to go through and understand the contents in the links given

No rush, but I deliberately gave you more than you could possibly want because I wanted to give you chances to focus on what interests you. So don't read it all. Skim and dive when it grabs you.

bhaugen commented 7 years ago

you can checkout the issues section of "xapi-launch" github repo. It might give you a better idea of the kind of work I have done so far

Here? https://github.com/adlnet/xapi-launch/issues?q=is%3Aissue+is%3Aclosed

SeemaSP commented 7 years ago

This issue:"config.json missing the connectionString:"mongodb://localhost/xapi-launch". It is a little misleading as I had opened the issue for that purpose(as stated) but ended up clarifying most of the doubts I had to secure an LRS's credentials from the Content providers(browsers) and still send xapi data tracking user activities(for e.g. scrolling through the course page or determining what option in an MCQ did the student select.) to the LRS.

bhaugen commented 7 years ago

Did you end up developing anything using xapi? Or just on a research/learning expedition? (Either way is ok)

SeemaSP commented 7 years ago

Currently the xapi statements are generated by the courses created using opensource framework called adapt authoring tool. In django, I am creating the proxy server for my LRS(going on in our LMS). Then when there is considerable data in the LRS(once we get test data), we extract data using LRS api to get meaningful information. So its being implemented, but the tracking part is tricky(for me) and has been set in other sprint.

bhaugen commented 7 years ago

What LRS/LMS? (Wondering if we could do something with an LMS...)

SeemaSP commented 7 years ago

Well LRS is a learning record store and LMS is just a learning management system. Example for LMS: Moodle. So students and their courses would be managed by teachers. LRS is where you store the xAPI statements. The ADL LRS used(in django) is opensource and is xapi spec compliant. The purpose of LRS is basically to track user events/data in a specific format. For example: anonymous user visits webpage1. Here on your webpage, you can track and store this data in LRS as follows: {"statement":{ "actor":{ name:"anonymous user", id : "some_id_on_your_system" }, "verb":{ name:"visits", id:"http://localhost/visits" }, "object":{ name:"webpage1", id:"page1" } } }

The xapi statement format is more or less the same but this is just one of the many examples. I wonder how economy network domain might benefit from this? Is there any need to track information in a specific format for analysis in the future?

bhaugen commented 7 years ago

Is there any need to track information in a specific format for analysis in the future?

Many such needs. I am thinking specifically of training and certifying people in various skills. Seems like it might be a LMS kind of problem.

SeemaSP commented 7 years ago

Well training and certification are kinds of problems where you are training people, providing resources to study, taking tests to assess the person's skill and giving certificate based on how the person scored. This kind of data does not require tracking any additional information apart from storing the final score(based on which the decision is made to give the certificate or not). In such cases an LMS on its own works. But there is no data to determine how well the courses were designed which could be determined based on how the student proceeded through the course. This is where LRS would be useful. If there are any other queries regarding LRS systems, I would appreciate if we could discuss it tomorrow. Just need some time to read the links and setup rea-app atleast. But it was nice to see that there is some application of xapi spec in this domain.

bhaugen commented 7 years ago

to determine how well the courses were designed which could be determined based on how the student proceeded through the course

I think that could also be useful.