fossasia/loklak_webclient

remove dependency on loklak_server user accounts

Closed this issue · 9 comments

loklak_webclient shall become self-contained in the future. As far as I know there is only one dependency, the storage of twitter accounts and twitterwall specifications. This dependency shall be removed and the information shall be stored within loklak_webclient itself.

Therefore you must choose a storage solution for such information in a node application. Please discuss options and please consider to use what is already there.
Then start to implement the storage service for accounts on loklak_webclient.

@leonmak @niteshkhadanga please join in here

@Orbiter : "This dependency shall be removed and the information shall be stored within loklak_server itself." I dont understand this. If we are trying to make webclient self contained then all kind of info should be there (in webclient) only right?
PS: Updated the issue. Please see!

@sopu The information shall be installed in the loklak webclient. Currently there are dependencies on the server. Please remove them. We need an accounting system in the web client, ACL etc.

@leonmak Could you please help with this issue?

@mariobehling Sure, I didn't see the assignment before sry

I'm not too experienced with user accounts, but can something like passportjs, node_acl, and mongodb for storage be considered? Since we're already using express, I think it could work well together

@leonmak Yes, you can consider those solutions. What solution do you prefer? @sopu Any input?

@mariobehling I meant using those together (passportjs for auth, node_acl for permissions, mongoose for storage), if I understand the requirements right

for auth hello.js is used, I'm still trying to figure that out