Skip to content

Migrate Project to Full Next.js Stack (v2 Branch) #4

@cojocaru-david

Description

@cojocaru-david

We need a full migration of the current snippetslibrary.com codebase to Next.js in the v2 branch. The goal is to modernize the stack and fully leverage Next.js capabilities for performance, maintainability, and developer experience.

Upcoming Features:

  • Integrate GitHub Gist for importing/exporting snippets
  • Add AI-based code suggestions for snippet enhancement
  • Create API for user account management
  • Write full API documentation (e.g., Swagger/OpenAPI)
  • Visual Studio Code extension connected to user account/snippets
  • Snippets Marketplace (Idea stage) - explore and share public snippets from other users

Goals:

  • Replace current frontend with a fully Next.js latest app
  • Convert any backend APIs (currently in separate stack or legacy code) to Next.js API Routes
  • Migrate routing to Next.js pages (app/ or pages/)
  • Add proper SEO optimization using next/head or metadata files
  • Implement server-side or static rendering as appropriate (SSG/SSR/ISR)
  • Ensure authentication (if any) is handled using NextAuth.js
  • Fully move styling into the new app layout
  • Optimize for performance (image optimization, route loading, etc.)
  • Cleanup unused packages from previous setup
  • Visual Studio Code extension

Objects:

  • The application runs on Next.js with TypeScript and Tailwind CSS fully integrated.
  • All core features (snippet creation, editing, browsing, sharing) are functional.
  • Authentication is secure and restricts access to protected routes.
  • Database operations are implemented and secure.
  • Unit tests cover critical functionality.
  • The application is deployed and accessible with no critical bugs.
  • Performance is optimized (e.g., fast load times, SEO-friendly).
  • Code follows best practices and is well-documented.

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or requesthelp wantedExtra attention is neededquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions