Skip to content

[FEATURE] Code Snippet Sharing and Community Feed #494

@Aditya8369

Description

@Aditya8369

Feature description

A public feed where users can share code snippets, tag them with topics/languages, and browse others' snippets. Users can like, comment, and fork snippets directly into their editor.

Why this feature?

Currently, profiles store snippets locally or server-side for individuals, but there's no community aspect. This fosters a collaborative learning environment, encourages sharing best practices, and helps users discover new code patterns, aligning with the app's goal of making coding less isolating.

Implementation ideas

Add a new "Community" page in the client with a feed component. Create server routes for snippet CRUD with public visibility flags. Integrate with existing auth for user attribution. Use MongoDB to store public snippets with tags, likes, and comments. Update the profile to link to shared snippets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions