Binary Dump is an anonymous platform designed for our class to rant, share memories, and post anything freely. Built overnight, it quickly became a hotspot for raw, unfiltered thoughts. However, with great anonymity comes great chaos—we faced NoSQL injection, object injection, DDoS, and XSS attacks on launch night. But after pulling an all-nighter securing the server, Binary Dump stood strong and remains fully functional and attack-resistant. We’re now working on new updates to make it even more interactive—maybe even for a wider audience!
- Anonymous Posting: Share thoughts and memories without revealing identity.
- Secure & Resilient: Patched against NoSQL Injection, DDoS, and XSS attacks.
- Fast & Simple UI: A seamless experience, thanks to Aditya.
- Built for Fun: A place to dump thoughts, make memories, and laugh.
- Upcoming Updates: More interactions for the class—and maybe beyond!
- Node.js & npm
- MongoDB
- A deployment platform (Vercel recommended)
-
Clone the repository:
git clone https://github.com/Aakarsh-Kumar/binary-dump.gitcd binary-dump -
Install dependencies:
npm install -
Set up environment variables (
.envfile): for server:MONGO_URI=your_mongodb_connection_string SECRET_KEY=your_secret_key RECAPTCHA_SECRET = recaptcha_secret_key ALLOWED_ORIGINS = "http://localhost:5173"for client:
VITE_BASE_API_URL ="http://127.0.0.1:8080" VITE_ALLOWED_ORIGINS="http://localhost:5173" VITE_RECAPTCHA_SITEKEY = recaptcha_site_key -
Start the servers: for server-side
npm startfor client-side
npm dev -
Access the platform locally:
http://localhost:5173
- NoSQL Injection Protection: Sanitized queries & input validation.
- DDoS Mitigation: Rate limiting & IP blocking.
- XSS Prevention: Content sanitization & secure headers.
- Object Injection Protection: Controlled data access & validation.
Big thanks to Rahul Marban for helping me understand server security with Vercel.
binary-dump/
├── server/
│ ├── controllers # Server & API handling
│ ├── routes/ # API Endpoints
│ ├── models/ # Database Schemas
│ ├── logger.mjs/ # Logging format file
│ ├── index.mjs # Main Server File
│ ├── .env # Client side env variables.
| ├── package.json # Dependencies & Scripts
├── client/
│ ├── src/
| | ├── assets/ # Logo and Icons
| | ├── pages/ # Main Page
│ | ├── App.jsx # Entry Point
│ | ├── App.css # Importing Tailwind
│ | ├── main.jsx # Initial Origin Check
│ ├── index.html # ReactDOM Rendering
| ├── package.json # Dependencies & Scripts
├── README.md # Project Documentation
- Reactions & Comments: More ways to interact with posts.
- Personalized Feeds: Trending posts within the class.
- Expanded Access: Who knows? Maybe Binary Dump goes beyond our class!
- 🧒 Portfolio: aakarsh.is-a.dev
- 💼 LinkedIn: aakarsh-kumar25
- 💻 GitHub: Aakarsh-Kumar
- 📱 Instagram: @aakarsh_kumar25