Giter Site home page Giter Site logo

reactima-encore-temporal-zitadel-poc's Introduction

reactima-encore-temporal-zitadel-poc

This is a demo playground for several enterprise ready technologies

  • Encore
  • Temporal workflow engine
  • Zitadel IDP (Indentity Provider) with features include multi-tenancy with branding customization, secure login, self-service, OpenID Connect, OAuth2.x, SAML2, Passwordless with FIDO2 (including Passkeys), OTP, U2F, and an unlimited audit trail.

๐Ÿงพ Part 1 - Billing Service Demo

Billing Service Demo section is designed to showcase temporal workflow application in context of billing transactions.

๐Ÿ›  Development Setup

To dive into this demo locally:

๐ŸŒ€ Launching Temporal Server

  1. Grab the latest Temporal.

  2. Start it up with the command:

    temporal server start-dev --db-filename temporal.db
  3. ๐ŸŒ To access the Temporal dashboard, navigate to:

    http://127.0.0.1:8233
    

๐ŸŽต Working with Encore

For local development, ensure you've got Encore ready.

  1. First of all run test via Encore:

    encore test ./...
  2. Run the following to kick off Encore:

    encore run
  3. ๐ŸŒ This spins up the Encore UI in your default browser at:

    http://localhost:9400
    

    Use the UI to monitor and analyze API calls seamlessly.

๐Ÿงพ Part 2 - Zitadel SDK Demo

Zitadel SDK Demo section is designed to showcase the following actions

  • user creation
  • updating user by email
  • deactivating user
  • changing password
  • changing avatar
  • creating project
  • assigning user by email to project

๐Ÿš€ Zitadel

Zitadel Cloud

Sign up for cloud version https://zitadel.com/

Zitadel Local/Selfhosted

Go through

For maximum control over Zitadel run the following on Ubuntu 20/22 server

make compile
docker build -f Dockerfile -t zitadel2 .

Run Zitadel

./zitadel start-from-init --config reactima-config/example-zitadel-config.yaml --masterkey "MasterkeyNeedsToHave32Dummy##"

Protobuf/Protoset interface

Generate protoset file

buf build -o zitadel.protoset

gRPC client

For testing gRPC calls to Zitadel install grpcui

grpcui -vv -plaintext -H 'authorization: Bearer XXX_TOKEN_FROM_ZITADEL_HERE' -protoset  /path/zitadel.protoset  -plaintext localhost:8080

Replace "localhost:8080" with Zitadel address. Use "example.com:443" for https cloud base version

Headhunt me

Interested to discuss the above or looking for a partner to work on AI Agents, Data Mining, CRM, B2B Lead Generation and/or Outbound Marketing SaaS system related projects? Feel free to ping me to exchange ideas or request a consultation!

reactima-encore-temporal-zitadel-poc's People

Contributors

reactima avatar

Watchers

 avatar

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.