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

Updates to Next.js 14 and migrate the backend to Supabase and Drizzle ORM #6

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

deepsingh132
Copy link
Owner

This pull request encompasses major updates and migrations, including:

  1. Upgrade to Next.js 14: Enhancing our application with the latest features, performance improvements, and optimizations provided by the Next.js 14 release.
  2. Backend Migration to Supabase and Drizzle ORM: Transitioning the backend from the previous database (MongoDB) and ORM setup to Supabase and Drizzle ORM for improved database management, scalability, and ease of use.
  3. Bug Fixes: Addressing several known issues to improve the overall stability and functionality of the application.

Changes and Implementations

1. Next.js 14 Upgrade:

  • Dependencies: Updated the Next.js dependency to version 14 in package.json.
  • Codebase Adjustments: Modified code where necessary to align with new Next.js 14 features and breaking changes.
  • Performance Improvements: Leveraged new Next.js 14 features such as enhanced static generation, faster builds, and improved development server performance.

2. Backend Migration to Supabase and Drizzle ORM:

  • Database Transition: Migrated all database tables and data from the previous database to Supabase.
  • Drizzle ORM Integration: Replaced the previous ORM with Drizzle ORM, ensuring compatibility and enhancing query performance.
  • Schema Definitions: Defined new schemas for the database tables in Drizzle ORM, including users, posts, and events.
  • Database Operations: Refactored database operations (CRUD) to utilize Drizzle ORM’s syntax and methods.
  • Environment Variables: Updated environment variables to accommodate Supabase credentials and configurations.

3. Bug Fixes:

  • Fixed MapModal Search text issue: Addressed a problem with the search functionality not returning accurate results.
  • General Improvements: Minor UI/UX improvements and code refactoring for better readability and maintainability.

Copy link

vercel bot commented Jun 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
artsphere ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 7:32pm

@deepsingh132 deepsingh132 merged commit 0285918 into main Jun 18, 2024
4 checks passed
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