DEV Community

Cover image for Building PasteDB - Codes and notes sharing platfron
Aditya Sorathiya
Aditya Sorathiya

Posted on

Building PasteDB - Codes and notes sharing platfron

What I Built

PasteDB is a modern paste-sharing platform built for developers, students, and anyone who needs to share text, code snippets, notes, or images quickly and securely.

I started this project because I wanted to build my own alternative to existing paste-sharing services while learning full-stack development. What began as a simple paste website gradually became a feature-rich platform.

Some of the features include:

  • 🔒 End-to-End Encrypted pastes
  • 📝 Syntax highlighting for multiple programming languages
  • 🖼️ Image uploads
  • 🌍 Public, Unlisted, and Private pastes
  • 🔑 Password-protected pastes
  • ⚡ Custom paste URLs
  • 👤 Google Sign-In
  • 📊 Personal dashboard
  • 🔍 Explore page
  • 💻 VS Code Extension
  • 🧑‍💻 REST API
  • ▶️ Run code directly in the browser using Judge0

For me, this project represents my passion for programming. I'm a student, and I built PasteDB while also preparing for school exams. Every new feature taught me something new about web development, security, APIs, databases, and user experience.


Demo

🌐 Live Website

https://pastedb.netlify.app

GitHub Repository

https://github.com/sorathiya903/pastedb


Code

The complete source code is available on GitHub.

https://github.com/sorathiya903/pastedb


How I Built It

PasteDB is built as a full-stack web application.

Frontend:

  • HTML
  • CSS
  • JavaScript

Backend:

  • Python
  • FastAPI

Database:

  • MongoDB

Storage:

  • Cloudinary

Authentication:

  • Google OAuth

Other technologies:

  • Judge0 API for code execution
  • IndexedDB for secure client-side storage
  • End-to-End Encryption for encrypted pastes

Throughout development I focused on building features that improve usability while learning new technologies one step at a time. Every challenge—from implementing encryption to creating the API and building a VS Code extension—helped me become a better developer.

The biggest challenge wasn't writing code—it was consistently working on the project while managing school and exams. This project exists because I genuinely enjoy building software and solving problems.


Prize Categories

Not submitting for any technology-specific prize category.

I'm participating for the overall Weekend Challenge because PasteDB represents the project I've been most passionate about building.

Thank you for reading! Feedback and suggestions are always welcome.

Top comments (0)