Skip to content

jayjaisswal/MERN-CODE-SNIPPET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

MERN Code Snippet App

A simple web application to save, edit, delete, and search code snippets using the MERN (MongoDB, Express, React, Node.js) stack.

Features

  • Add, edit, and delete code snippets
  • Search snippets by title
  • Copy code with one click
  • Backend with MongoDB & Express

Tech Stack

  • Frontend: React, Tailwind CSS

  • Backend: Node.js, Express.js, MongoDB (Atlas)

  • Deployment: Vercel (Frontend), Vercel/Render/Atlas (Backend & Database)

  • MERN Code Snippet App

Preview

A simple web application to save, edit, delete, and search code snippets using the MERN stack.

Installation & Setup

Backend Setup

  1. Clone the repository:
    git clone https://github.com/your-repo.git
    cd backend
  2. Install dependencies:
    npm install
  3. Create a .env file and add MongoDB URI:
    MONGO_URI=your_mongo_db_uri
  4. Run the server:
    npm start

Frontend Setup

  1. Navigate to frontend:
    cd frontend
  2. Install dependencies:
    npm install
  3. Start the frontend:
    npm run dev

Deployment

  • Frontend: Deploy on Vercel
  • Backend: Deploy on Vercel/Render/Atlas

Live Demo

Click here to view the app

MERN-CODE-SNIPPET

MERN-CODE-SNIPPET

About

πŸš€ MERN Code Snippet App – Save, edit, delete, and search code snippets easily.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published