Skip to content

A snippet-sharing platform designed for developers to easily share code snippets across different IDEs, providing a streamlined solution for quick access to reusable code and enhancing productivity.

Notifications You must be signed in to change notification settings

ItsMeRanajit/snipX

Repository files navigation

snipX - Snippet Sharing Platform

Introduction

This project is a full-stack CRUD (Create, Read, Update, Delete) snippet-sharing platform built with Next.js, React, Tailwind CSS, and MongoDB. It allows users to create, share, and manage code snippets with ease. The platform provides various features for efficient snippet categorization, searching, and user profile management, making it a useful tool for developers to streamline their coding workflow.

Site link -

https://snip-x-chi.vercel.app/

Home Page Preview

Here’s a preview of the homepage:

Home Page Preview

Features

  • Fully responsive interface using Tailwind CSS for seamless usability across devices.
  • CRUD functionality: create, read, update, and delete code snippets.
  • Copiable code snippets with their respective output code for easy reuse.
  • Create, edit, and delete snippets as per your needs.
  • Organize snippets with tags for efficient categorization and discovery.
  • # and sign out functionality with Google authentication provider.
  • Search bar for finding specific users and snippets based on tags.
  • Visit other users' profiles and view their shared snippets.
  • Each post contains clickable tags; clicking a tag filters all posts with the same tag.
  • Randomized feed of posts with new snippets displayed after each page reload.

Upcoming Features

  • Additional authentication providers for greater sign-in flexibility.
  • Tag filtering feature for more refined snippet searches.

Tech Stack

  • Next.js – for server-side rendering and routing.
  • React – for building interactive UI components.
  • Tailwind CSS – for designing a responsive and modern UI.
  • MongoDB – for storing user data and snippets in a NoSQL database.
  • Full-stack – backend API to handle user authentication, CRUD operations, and snippet management.

How to Run

  1. Clone the repository: git clone project-link
  2. Navigate to the project folder: cd snipx
  3. Install dependencies: npm install
  4. Set up a MongoDB database and add the connection string in your environment variables.
  5. Run the development server: npm run dev
  6. Visit http://localhost:3000 to view the app.

About

A snippet-sharing platform designed for developers to easily share code snippets across different IDEs, providing a streamlined solution for quick access to reusable code and enhancing productivity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published