Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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