Skip to content

Report-api : 🚀 Migrate from DynamoDB to Open-Source Supabase #71

Open
Yashwanth-79 wants to merge 1 commit intoAOSSIE-Org:masterfrom
Yashwanth-79:report-api
Open

Report-api : 🚀 Migrate from DynamoDB to Open-Source Supabase #71
Yashwanth-79 wants to merge 1 commit intoAOSSIE-Org:masterfrom
Yashwanth-79:report-api

Conversation

@Yashwanth-79
Copy link

This PR migrates our backend database from AWS DynamoDB to Supabase, an open-source alternative based on PostgreSQL. The migration includes:

  • Refactoring database operations to use Supabase SDK instead of boto3 (DynamoDB).
  • Updating API endpoints to interact with Supabase tables.
  • Modifying data retrieval and storage logic to align with relational database structures.
  • Updating .env files to store Supabase API URL and keys.
  • Ensuring compatibility with existing features and queries.

Benefits of Migration:

1️⃣ Cost-Effective & Open-Source: Supabase eliminates AWS DynamoDB costs while providing a transparent, self-hostable alternative with PostgreSQL’s reliability.
2️⃣ Improved Query Capabilities: Unlike DynamoDB (NoSQL), Supabase supports SQL queries, allowing for better filtering, joins, and complex data relationships.

image

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments