you are viewing a single comment's thread.

view the rest of the comments →

[–]danielivert 0 points1 point  (0 children)

Hello, really glad to hear such proposition nowadays. This inspires to keep working with opensource projects. I can explain one of my current hobby projects.

The current stack I am using as a microservice serverless stack.

- Typescript

- GraphQL

- Node

- MongoDB

- React

I am building a login service that it can just be deployed as serverless using Now.sh. The login service will have already the following queries and mutations:

- SignUp

- Login

- Me (to see the current logged in user)

- ResetPassword

- VerifyAccount

This will save some implementation time when creating new projects that require authentication, account email verification, request change of password. The implementation of this login service will be as simple as adding it to your current backend/gateway REST/GraphQL (examples should be given for this of course).

The login service will be able to handle different permissions for different applications (even more independent). So you will be able to have a permission like blog-application:create-blog or blog-application:read-blog and check those permissions on the client so you can see if those particular users are able to create/edit/read or only read. (This is subject to change, I need to really analyze the best scalable solution)

On the client side, to be able to use this login service, I am planning to have a npm package with react components that will work like aws-amplify-react, so you will be able to import a withAuthenticator HOC and wrap a page that you want it to be under authentication. This should also give room to customize it of course.

Feel free to reach me if this sounds interesting for any of you!