A modern, full-stack code snippet management platform built with React, TypeScript, Node.js, and MongoDB.
- Frontend: React, TypeScript, Vite, Tailwind CSS, Framer Motion
- Backend: Node.js, Express, MongoDB, JWT Authentication
- Editor: Monaco Editor
- Node.js (v16+)
- MongoDB (running locally or cloud URI)
-
Install Dependencies
npm install # Installs concurrently in root npm run install-all # Installs server and client dependencies
-
Environment Variables
- The server comes with a default
.envfile inserver/.env. - Modify
MONGO_URIif your MongoDB is not atmongodb://localhost:27017/devstash.
- The server comes with a default
-
Run Application
npm run dev
- Client: http://localhost:5173
- Server: http://localhost:5000
- User Authentication (Sign up/Login)
- Create, Edit, Delete Code Snippets
- Syntax Highlighting for multiple languages
- Dark/Light Mode
- Tagging and Search
- Favorites