Giter Club home page Giter Club logo

Comments (3)

marktani avatar marktani commented on May 28, 2024 1

I'll restructure the functions into different folders in the coming days. My current idea:

.
├── authentication
│   ├── auth0-authentication
│   ├── email-user-management
│   ├── facebook-authentication
│   ├── phone-user-management
│   └── google-authentication
├── emails-and-notifications
│   ├── one-signal
│   ├── sendgrid-email
│   └── slack-bot-notifications
├── file-handling
│   ├── cloudinary-images
│   └── file-proxy
├── miscellaneous
│   ├── generate-slug
│   ├── github-fetch-repo
│   ├── google-geocoding
│   └── tictactoe-gameserver
└── payment
    ├── stripe-coupons
    ├── stripe-create-customer
    └── stripe-create-customer-es6

from graphcool-templates.

kbrandwijk avatar kbrandwijk commented on May 28, 2024 1

Sounds great, although I would move authentication to it's own repo, because it's going to grow a lot bigger and you're going to end up with an extra level of folders along the way, because there's:

  • Signup/login: signing up/logging in using Auth0, Google, Twitter, Facebook, LinkedIn, Github, Single-Sign-On with Enterprise verification (ADFS), basically any of the hundreds of providers (passport.js alone offers 300 options already)
  • Signup verification: email verification, phone number verification, etc.
  • Login verification: 2FA (TOTP, Push notification, OTP SMS/call)
  • Enhanced security: tracking/auditing login attempts, user lockout, password reset

Also, you might need a folder for 'exposing external APIs', for SE's where there's no real integration with the rest of a project, but just exposing an API through Graphcool (like the Weather API, traffic/directions API examples I put in my FR).

Also, 'payment' might become the more general 'webcommerce', to also fit things like shipping calculators/providers, etc. together with payment providers.

from graphcool-templates.

steida avatar steida commented on May 28, 2024

I suppose auth primitives should be available as NPM libs.

from graphcool-templates.

Related Issues (20)

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.