A simple web application to save, edit, delete, and search code snippets using the MERN (MongoDB, Express, React, Node.js) stack.
- Add, edit, and delete code snippets
- Search snippets by title
- Copy code with one click
- Backend with MongoDB & Express
-
Frontend: React, Tailwind CSS
-
Backend: Node.js, Express.js, MongoDB (Atlas)
-
Deployment: Vercel (Frontend), Vercel/Render/Atlas (Backend & Database)
A simple web application to save, edit, delete, and search code snippets using the MERN stack.
- Clone the repository:
git clone https://github.com/your-repo.git cd backend
- Install dependencies:
npm install
- Create a
.env
file and add MongoDB URI:MONGO_URI=your_mongo_db_uri
- Run the server:
npm start
- Navigate to frontend:
cd frontend
- Install dependencies:
npm install
- Start the frontend:
npm run dev
- Frontend: Deploy on Vercel
- Backend: Deploy on Vercel/Render/Atlas