Open rohitgodspeed opened 11 months ago
In this sprint, just create tasks.
Figure out if we can use Prometheus or Open Telemetry to track new godspeed user.
Error reporting.
Track all the CLI function invocation.
Figure out rate limiting on call based on ORG key.
No of unique services.
not in favour of using supabase for the user flow because we will eventually hit the end wall or vendor lockin.
We should probably use a custom setup for example postgres+lucia+drizzle or something else.
PART 1: managing user and org setup
Registration of ORg
When org is created the supplied email
Single User Registration
Use the current form as it is.
Creating or Linking Users with an Org
Forced Linking a project with an org
Microservice Used for User and Departments
Supabase
PART 2: Tracking
Permission to run godspeed commands
By developer usage (local environment)
Whenever a dev runs a command then send the following event details to the tracking backend
The endpoint to which it will send POST request is: godspeed.systems/usage/dev
By service (in hosted environment)
Whenever godspeed dev, start or serve is run from any environment then send the uptime pings for tracking of uptime. (Not for godspeed dev command).
NOTE: P1