Skip to content
This repository has been archived by the owner on Aug 22, 2020. It is now read-only.

📦 User account creation as a service. Handles Auth, mailing lists, analytics, and more.

Notifications You must be signed in to change notification settings

toddbirchard/account-creation-endpoint

Repository files navigation

User Account Creation - Serverless Function

python flask Sendgrid Mixpanel SQLAlchemy Google Cloud Functions GitHub last commit GitHub issues GitHub stars GitHub forks

An endpoint triggered whenever a user submits a “create account” form. Handles several intricacies which simplify signup, track analytics, and prompts a welcome email.

Cloud Function

Functionality

This function holds a simple core value: simplify the onboarding process as much as possible for end users. This means keeping our “sign up” form as simple as possible (currently two fields) and discerning any additional data we might like to collect through scripting.

Stack

  • The progress is triggered by an application’s outgoing POST request; in this example, the Ghost blogging platform sends the request.
  • All logic is stored in a single Google Cloud Function running Python 3.7
  • Avatars are sourced by leveraging the Gravatar service.
  • New user accounts have their records stored in a Cloud SQL database running MariaDB.
  • Users are added to a mailing list and sent a welcome email via Sendgrid.
  • Analytics profiles are created in Mixpanel.

About

📦 User account creation as a service. Handles Auth, mailing lists, analytics, and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages