Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bang9/supabase-drizzle-quick-starter
Supabase + Fastify + Drizzle-ORM + AWS App runner
https://github.com/bang9/supabase-drizzle-quick-starter
app aws backend drizzle fastify monorepo pnpm supabase
Last synced: 8 days ago
JSON representation
Supabase + Fastify + Drizzle-ORM + AWS App runner
- Host: GitHub
- URL: https://github.com/bang9/supabase-drizzle-quick-starter
- Owner: bang9
- Created: 2024-08-05T13:00:19.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-05T15:26:32.000Z (5 months ago)
- Last Synced: 2024-12-24T12:40:06.165Z (18 days ago)
- Topics: app, aws, backend, drizzle, fastify, monorepo, pnpm, supabase
- Language: TypeScript
- Homepage:
- Size: 65.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Supabase + Drizzle + Fastify Quick starter
## Features
- **Supabase** for authentication and database management.
- **Drizzle-ORM** for easy and efficient database operations.
- **Fastify** for a high-performance server.
- **GitHub Actions** for continuous integration and continuous deployment (CI/CD).
- **Docker** for containerization of the application.
- **AWS App Runner** for seamless deployment and scaling.```mermaid
graph TD;
subgraph Application
A[Supabase]
B[Drizzle-ORM]
C[Fastify]
endsubgraph CI/CD
D[GitHub Actions]
E[Docker]
endsubgraph Deployment
F[AWS ECR]
G[AWS App Runner]
endsubgraph "Supabase + Drizzle + Fastify Quick Starter"
Application
CI/CD
Deployment
endApplication --> CI/CD
CI/CD --> DeploymentA --> B
B --> CD --> E
F --> G
%% Remove background color
classDef default fill:#fff,stroke:#000,stroke-width:1px;```
## Deploy pipeline
- Detect Changes in supabase/migrations: DB migration to supabase database
- Detect Changes in apps/server: Docker build -> Upload to ECR -> Deploy to AWS App Runner```mermaid
graph TD;
A[Push to GitHub] --> B[GitHub Actions Triggered]
B --> C{Changes Detected}
C -->|supabase/migrations| D[Apply DB Migrations to Supabase]
C -->|apps/server| E[Run Tests and Build Docker Image]
E --> F[Upload Docker Image to AWS ECR]
F --> G[Deploy Docker Image to AWS App Runner]
```