Coder Social home page Coder Social logo

bmrinal / cloud-auth Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.31 MB

Cloud Auth aims to provide a head start for applications that need simple authentication. Provides - signup, signin, signout, recover credentials, verify tokens, sessions out of the box. Can be used as a microservice or a REST service and can integrate seamlessly with any backend.

JavaScript 28.13% CSS 4.66% HTML 67.22%
auth authentification session-management session signup token-authetication token-based-authentication signin session-manager session-handler

cloud-auth's Introduction

CLOUD-AUTH

What it is

Cloud Auth aims to provide a head start for applications that need to handle all user related stuff. Provides - signup, signin, signout, recover credentials, verify tokens, sessions etc. out of the box.

MOTIVATION Any application today starts with a user signing in, signing out, signing up and stuff. This means it's a repetitive task and there should be a secure out-of-the box solution with minimal setup to ease up developer efforts!

What it can do

  • Signup a user
  • Signout a user
  • Maintain sessions
  • Generate session tokens
  • Verify session tokens
  • Recover user credentials securely
  • Maintain user profiles
  • Pull out user profiles
  • Create sub users (Maintain hierarchy of users)
  • User Roles and permissions
  • Create full user profiles using a simple json
  • Update credentials

All this out of the box, on your own machine or in a hosted env - upto you!

Integrate as a microservice or standalone REST service on your own infrastructure

Can be used as a microservice or a REST service and can integrate seamlessly with any backend.

As a microservice, it can be spinned up in a existing network or can help starting something from scratch.

As a standalone REST service, it can be hosted independently on any machine and can be interacted with using a REST API

How to start

  • Install docker on your machine
  • Clone the repository and cd into it
  • Run docker-compose -f docker-compose.dev.yml up (for production, remove dev for production setups)
  • The API should be up on port 3000

Under the bonnet!

Docker Containers, NodeJS, Express, MongoDB, Redis based sessions!

Docker : Docker containers are used for different underlying services

NodeJS: The primary environment

Redis : Primarily exists for taking care of sessions

MongoDB: The database for storing all user data

ExpressJS: This is for generating REST API and uses several middlewares like passport, helmet etc.

PassportJS Local and JWT stragtegies for now!

cloud-auth's People

Contributors

bmrinal avatar dependabot[bot] avatar telusmrinal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.