Skip to content

sayshark75/Code-bank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 Code Bank

  • A powerful and intuitive platform to manage, search, and favorite code snippets efficiently! 🚀 Perfect for developers who love to stay organized and productive.

🎯 Features

  • 🔍 Search Snippets: Find your desired code snippets easily with case-insensitive search functionality.
  • ❤️ Favorite Snippets: Mark your favorite snippets for quick access.
  • ✏️ User Contributions: Create, edit, and manage your code snippets.
  • 👥 Collaborative Features: Comment on and like snippets created by others.
  • 🌗 Dark/Light Mode: Seamless theme switching with Chakra UI for a personalized experience.

🛠️ Tech Stack

Frontend:

  • ⚛️ React + Next.js (App Router)
  • 💅 Chakra UI (Responsive and Accessible UI)
  • 🎞️ Framer Motion (Smooth animations)
  • 🧾 TypeScript (Strongly-typed development)

Backend:

  • 🔄 Prisma ORM (Type-safe database queries)
  • 🛢️ MongoDB (Flexible and scalable data storage)
  • 🔒 BCrypt (Password encryprion and verification)
  • 🔩 Next.Js (Inbuilt API routing)

🚀 Usage Guide

  • 1️⃣ Open the website.
  • 2️⃣ Create new account or login.
  • 3️⃣ View Snippets or copy them if required.
  • 4️⃣ Create your own snippet.
  • 5️⃣ Like or Comment on Snippets, mention the creator about better approach.
  • 6️⃣ Keep your favorite snippets, by clicking Favorite button.

✨ Features in Development

  • Snippet Categories: Organize snippets into folders or tags.
  • Snippet Sharing: Enable users to share their snippets publicly or within a team.
  • Usage Analytics: Provide insights on snippet usage (e.g., most liked, most favorited).
  • Stale snippets marking, and user contribution to update those.
  • User profile page with necessary details.
  • Comments and Reply features.

👨‍💻 Contribution Guide

  • We love contributions! Follow these steps to get started:

  • Fork the Repository: Click on the "Fork" button on the top-right of this page.

  • Clone Your Fork

git clone https://github.com/sayshark75/Code-bank.git
cd ./Code-bank
  • Create a Branch
git checkout -b feature/your-feature-name
  • Add a .env file, with this credentials
MONGODB_URI=<your-database-url>
NEXTAUTH_SECRET=<your-nextauth-secret>
NEXT_PUBLIC_API_BASE_URL=<your-app-url>
  • Make your changes/updates.
  • Add an Commit Your Changes
git add .
git commit -m "Add your meaningful commit message here"
  • Push and Create a PR
git push origin feature/your-feature-name
  • Go to the original repository and open a Pull Request (PR).

📜 License

💬 Feedback

  • Feel free to submit any issues or feature requests in the Issues Section. Your feedback is highly appreciated! 🙌

Releases

No releases published

Packages

No packages published

Languages