Giter Site home page Giter Site logo

niiknow / claudiauth Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 907 KB

Serverless/Lambda auth with cognito user pool and claudiajs

License: MIT License

Shell 0.52% JavaScript 99.43% HTML 0.04% CSS 0.01%
serverless aws lambda cognito claudia claudiajs auth authentication jwt saas

claudiauth's Introduction

ClaudiAuth

This repo can be use simply as an Authentication Starter Project or as complex as your use-case required, such as a multi-tenant Saas Product.

Tech Stack

  • NodeJS
  • AWS CLI
  • Cognito User Pool
  • ClaudiaJS: AWS Lambda + API Gateway as micro service
  • AWS S3 as backend storage

Goal/Tasks

  • cognito user pool create and removal script
  • proxy cognito user pool as generic Auth and Users API
  • create generic Saas Architecture API: teams, projects, and tasks.
  • provide direction for enhancement such as: two-factor auth, having more than 1000 users, having more than 1000 projects/tasks/etc...
  • create front-end starter
  • create duplicate API with Laravel PHP to demonstrate front-end starter work with both hosted on Lambda and on any platform starting with PHP

Architecture Design

  • A Team can have many Users
  • A Team can have many Admin Users
  • A Project can have many Users or Team
  • A Project can have many Admin Users
  • A Project can have many Tasks
  • A Project can have many child Projects
  • A Project belongs to a single parent Project
  • A Project can have many [fill_in_the_blank_here]
  • A Task belongs to a single Project.
  • A Task can have many related Tasks

Task was provided as an example, but you can create additional micro-service APIs here to extend this project for your personal use-case.

Example Use-Cases:

  • Project->Charity - Donation Platform
  • Project->Blog - Blogging
  • Project->Products - ecommerce
  • Project->SubscriberLists - email/texting list
  • Project->Pages - cloud CMS

Getting Started

Resource

Point of Interest

MIT

claudiauth's People

Contributors

noogen avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

delokman

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.