Skip to content

Development

Nate Sawant edited this page May 21, 2024 · 5 revisions

Setup

  1. Install bun
  2. Create GitHub App with Repository:Webhooks:Read&Write permissions
  1. Add GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET environment variables
  1. Create IAM roles with AmazonRDSFullAccess and DatabaseAdministrator permissions
  1. Add AWS_MASTER_USERNAME and AWS_MASTER_PASSWORD environment variables
  2. Add AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN environment variables.
  1. Change the Inbound Rules to this

Sequence Diagram

Untitled

Timeline

Proof of Concept

  • A user can use the CLI tool to instantiate Prisma and their choice of Prisma Client (Typescript, Go, Python, etc.)
  • A user can deploy to the cloud automatically with GitHub SSO authentication
  • A user can push changes to their repository and have changes automatically migrated

Minimum Viable Product

  • A user can deploy different databases for different branches with automatic schema migrations using webhooks
  • A user can view/manage the projects and their database instances on an authenticated dashboard

Stable Release

  • A user is prevented from overusing and/or abusing the system (e.g. rate-limiting of requests, databases, etc.)
  • A user can automatically generate sample data generator based on the Prisma schema.
Clone this wiki locally