https://github.com/suhelahmedprojectspace/codevault
CodeVault is a developer-centric platform to save, manage, and share code snippets, blogs, and portfolios with public/private access and real-time notifications
https://github.com/suhelahmedprojectspace/codevault
auth0 docker next postgresql prisma react schadcn tailwindcss turborepo typescript
Last synced: 3 months ago
JSON representation
CodeVault is a developer-centric platform to save, manage, and share code snippets, blogs, and portfolios with public/private access and real-time notifications
- Host: GitHub
- URL: https://github.com/suhelahmedprojectspace/codevault
- Owner: suhelahmedprojectspace
- Created: 2025-05-14T03:33:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-25T15:40:42.000Z (10 months ago)
- Last Synced: 2026-04-07T07:43:47.565Z (3 months ago)
- Topics: auth0, docker, next, postgresql, prisma, react, schadcn, tailwindcss, turborepo, typescript
- Language: TypeScript
- Homepage: https://codevault-seven.vercel.app/
- Size: 8.96 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ CodeVault



**CodeVault** is a modern, developer-first platform designed to **create, manage, and showcase code snippets** with precision and elegance.
It includes features like portfolio creation, real-time notifications, advanced filtering, pagination, and role-based access control.
> Built using a full-stack modern tech stack to elevate your developer workflow.
---
## ๐ Features
- ๐งฉ **CRUD Snippets** โ Create, update, and delete code snippets
- ๐งฉ **CRUD Blog** โ Create, update, and delete content
- ๐งฉ **Beautiful Blog UI โ With Like and comment functionality Estimated reading time**
- ๐ผ **Portfolio Builder** โ Showcase selected snippets in a clean UI
- ๐ **Advanced Filtering & Search** โ Search by title, tag, language, or framework
- ๐ **Pagination** โ Efficient browsing for large snippet libraries
- ๐ **Dashboard** โ Visual stats and snippet activity
- ๐ฌ **Access Request Notifications** โ Real-time alerts via pooling
- ๐ **Public/Private Visibility** โ Control who can access your code
- ๐จ **Syntax Highlighting** โ VS Code-like editor with Monaco
- ๐ **Clipboard Support** โ Paste from clipboard, clear code editor
- ๐ก๏ธ **Role-Based Access Control** โ Admin and Author roles
---
## ๐งช Tech Stack
| Layer | Tech |
| ------------ | -------------------------------------------------------------- |
| **Frontend** | `Next.js (App Router)` ยท `Tailwind CSS` ยท `ShadCN UI` ยท `CSS3` |
| **Backend** | `Next.js API Routes` ยท `Prisma ORM` ยท `Auth.js` ยท `bcrypt` |
| **Editor** | `Monaco Editor` (VS Code-like experience) |
| **Realtime** | `Native WebSocket` for instant notifications |
| **Database** | `PostgreSQL` (via Prisma) |
| **Others** | `Axios` ยท `Framer Motion` ยท `Radix UI` ยท `Zod` |
---
## ๐ Project Structure
````bash
/app # Next.js App Router
/(auth) # Login/Register logic
/dashboard # Snippet management UI
/portfolio # Portfolio builder
/api
/snippet # CRUD APIs for snippets
/components # Reusable UI components
/snippet # Snippet cards, editors, previews
/dashboard # Stats, tables, pagination
/notifications # Toasts and access requests
/constants # Enums, route lists, snippet filters
/lib # Helper and utility functions
/styles # Global CSS & Tailwind configurations
/types # TypeScript types and interfaces
/utils # Utility functions (slugify, debounce, etc.)
/prisma # Prisma schema & migration files
/public # Static assets and images
# ๐ Getting Started
Foobar is a Python library for dealing with word pluralization.
## Installation
```bash
git clone https://github.com/suhelahmedprojectspace/codevault.git
cd codevault
````
## Install Dependencies
```bash
npm install
# or
yarn install
```
## Setup Environment Variables
#### Create a .env file in the root:
```bash
DATABASE_URL=your_database_url
NEXTAUTH_SECRET=your_secret_here
```
## Run Database Migrations
```bash
npx prisma migrate dev --name init
```
## ๐ค Contributing
`bash Contributions, suggestions, and feature requests are welcome! Feel free to open issues or submit a pull request.`
## ๐ฌ Connect
###### GitHub: @suhelahmedprojectspace
### Built with โค๏ธ by Sahel โ for developers who love clean code and beautiful UIs.