Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to access /api/graph #62

Open
SeemaSP opened this issue Jul 19, 2017 · 18 comments
Open

Unable to access /api/graph #62

SeemaSP opened this issue Jul 19, 2017 · 18 comments

Comments

@SeemaSP
Copy link

SeemaSP commented Jul 19, 2017

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
Copy link

have you run the server from api-extension branch?

@SeemaSP
Copy link
Author

SeemaSP commented Jul 19, 2017

I could't find that branch in the dropdown?

@bhaugen
Copy link
Contributor

bhaugen commented Jul 19, 2017

@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
Copy link
Author

SeemaSP commented Jul 19, 2017

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
Copy link
Contributor

bhaugen commented Jul 19, 2017

@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
Copy link
Author

SeemaSP commented Jul 19, 2017

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
Copy link
Contributor

bhaugen commented Jul 19, 2017

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
Copy link
Author

SeemaSP commented Jul 19, 2017

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
Copy link
Contributor

bhaugen commented Jul 19, 2017

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
Copy link
Contributor

bhaugen commented Jul 19, 2017

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
Copy link
Author

SeemaSP commented Jul 19, 2017

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
Copy link
Contributor

bhaugen commented Jul 19, 2017

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

@SeemaSP
Copy link
Author

SeemaSP commented Jul 19, 2017

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
Copy link
Contributor

bhaugen commented Jul 19, 2017

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

@SeemaSP
Copy link
Author

SeemaSP commented Jul 19, 2017

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
Copy link
Contributor

bhaugen commented Jul 19, 2017

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
Copy link
Author

SeemaSP commented Jul 19, 2017

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
Copy link
Contributor

bhaugen commented Jul 19, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants