outmoded / university

Community learning experiment
Other
371 stars 193 forks source link

Re-write the university #185

Closed zoe-1 closed 8 years ago

zoe-1 commented 8 years ago

Time to re-write the university

2016 has arrived and Node and hapijs have rapidly progressed and the university has become outdated. So, plan to re-write the university.

In the future, would like the university to have two or three repos named:

Feedback welcomed :-)

simon-p-r commented 8 years ago

@zoe-1 good ideas, I like the idea of a hapi serving client talking to an api server!

zoe-1 commented 8 years ago

Added nes into discussion about the next version too.

Miguel-Herrero commented 8 years ago

Hi @zoe-1 ! This last week I have been doing the University assignments and I had to adapt it to the latest versions (as I saw that everything was written/solved with past versions of packages). Besides I added some assignments to the Wiki.

Here is my fork with myAssignments branches, in case it would be of any help.

I would be interested in helping with updating the Assignments, in case you want collaborators.

Miguel-Herrero commented 8 years ago

And some feedback:

  1. Learn how to documentate the API with hapij's lout
  2. Separate auth, config and database files (in previous Assignments it would be our users.json file) into subfolders. One example I liked
  3. Auth with hapi-auth-jwt2, as JWT are a standard too and they can be used for mobile devices and apps that use our hapijs API (they cannot store cookies but they can store a secure token)
jd73 commented 8 years ago

I think it's a great idea. I'm fairly new to Node and Hapi. The first few assignments (the ones that you have already modernized a bit) have been a very helpful start so far. Now I'm getting to some of the ones yet to be updated and going back to a slightly older style is a bit jarring.

Some of the additional topics you mentioned covering (SPA, DB support, other auth schemes etc...) also seem like they would be very useful additions.

Like I said, I am pretty new to Node and Hapi, but I would be willing to help out where I can.

zoe-1 commented 8 years ago

@jd73 It is good to have your feedback. Glad you are interested in participating. Plan to re-write the assignments ( three are already prepared here ) and need to re-write the README too. After that, want to recruit people to participate and fulfill the assignments as a group.

It will be a good opportunity to learn how to work in a distributed environment / distributed team using github. And, of course, participants will learn much about hapi too :-)

Miguel-Herrero commented 8 years ago

@zoe-1 sorry to bother but in your rewritten Assignment4 you have written:

Using the hapi-auth-cookie plugin:

Shouldn't it be?:

Using the hapi-auth-basic plugin:

zoe-1 commented 8 years ago

@Miguel-Herrero good to have your input. In respect to assignment4, as mentioned above was planning to remove hapi-auth-basic from the project. Currently, hapi-auth-basic is used in the project and later replaced by hapi-auth-cookie. This is a bit redundant so was planning to use hapi-auth-cookie right from the start.

damianesteban commented 8 years ago

I'm looking forward to this. Any idea as to when it may start?

zoe-1 commented 8 years ago

@damianesteban Glad you are interested.
Currently, plan to update assignment7 and assignment8 to ES6. Then, want to move forward with a re-write.
Feel free to submit a PR to update one of the above assignments :-)

damianesteban commented 8 years ago

@zoe-1 Very cool, thanks for the update. Perhaps I will submit a PR next week.

zoe-1 commented 8 years ago

@damianesteban good to hear from you. Would you be able to help with this #201? Cheers!

zoe-1 commented 8 years ago

@Miguel-Herrero @jd73 @simon-p-r that above invitation is open to you too. Would appreciate your help with this #201.

Miguel-Herrero commented 8 years ago

@zoe-1 Sure! :+1:

jd73 commented 8 years ago

I'll give it a once over.

zoe-1 commented 8 years ago

@jd73 and @Miguel-Herrero thanks for the help with the reviews. Project is updated.

Miguel-Herrero commented 8 years ago

Thanks to you @zoe-1. Excellent job!! Congratulations for your efforts

damianesteban commented 8 years ago

Let me know if there are any other issues I can help with.

zoe-1 commented 8 years ago

@Miguel-Herrero Thank you for the encouraging words :-) But, I cannot take all credit for the updates. Others also contributed to assignments. For example, @apoorvakorde made significant contributions to the earlier assignments 1-6. Cheers @apoorvakorde!

zoe-1 commented 8 years ago

@damianesteban details about future development will be posted in the issues list.

zoe-1 commented 8 years ago

I am closing this because most of the re-write is done. Every branch / assignment is updated to ES6. Plus, people new to the university may be confused by it's title. Currently, writing an overview of issues related to developing the university with multiple repos: client, api, data, proxy etc. Will soon open an issue for discussion of this.