Comments (3)
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.
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.
I suppose auth primitives should be available as NPM libs.
from graphcool-templates.
Related Issues (20)
- Facebook Delegated Account Recovery
- Google auth mutation is not working HOT 3
- Auth-templates for Linkedin and Twitter HOT 2
- Templates should be written in TypeScript HOT 4
- Create language branches so people can easily contribute in their own programming language
- Email-password authentication returning an unhandled error HOT 2
- Auth0 authentication broken on React Native HOT 2
- Email / Password template : Passwords revealed in function error logs HOT 2
- Utility functions in a template - Please vote HOT 3
- jwt.decode fails on new id_tokens
- Question: Can this be used via an SPA and without Auth0 Lock? HOT 4
- Authentication template for Gitlab users
- Slack Bot command handling support
- Auth template for Twitch
- Should I PR an updated SMS authentication with Twilio? HOT 1
- Can't distinguish expired tokens from empty responses
- Add template and GraphCool.yml no longer working
- Token produced no longer works with GraphCool
- Passwords are stored in clear locally (no hash) HOT 2
- OAuth 2.0 support for linkedin auth-template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphcool-templates.