Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.69 KB

README.md

File metadata and controls

53 lines (34 loc) · 1.69 KB

AuthUI Server

Authentication-as-a-service

Motivations

When starting a new project, it takes some effort to implement Login / Sign-up screens. Often times we have to repeat the same implementation again and again.

  • Authentication should be simple to remove frictions to build a MVP (Most Viable Product) or get users started.
  • AuthUI takes care of user login & sign up logic.
  • Save dev time to focus on main ideas.

Commands

Node 13.x yarn 1.22.x

server.ts - update PORT

Prepare Database and Seed data:

$ yarn generate
$ yarn seed

Run Dev:

$ yarn dev

Application flows:

  • Include the Login Component into the main app and customize it: Example
  • The Login Component will make requests to AuthUI login or signup graphql endpoint.
  • AuthUI endpoints will respond with a JWT token (contains userId).

Contributions

Please open pull requests. Any contribution is welcome!