⚡ High Performance API • 🧠 Smart Data Handling • 📦 Scalable Architecture
Pintest Backend is a high-performance REST API built to power a Pinterest-like application, supporting features like image posts, user interactions, feeds, and scalable data handling.
Designed with a focus on speed, modular architecture, and scalability, this backend can handle real-world social media workloads.
💡 This project demonstrates production-level backend engineering using Node.js + MongoDB.
Users create pins → Store media → Serve optimized feeds → Enable interactions
- Create, update, delete pins
- Image upload & storage handling
- Metadata support (title, description, tags)
- Authentication (JWT-based)
- User profiles
- Follow / interaction system
- Dynamic feed generation
- Trending / recent pins
- Scalable query handling
- Efficient MongoDB queries
- Indexed collections
- Optimized API responses
- JWT authentication
- Protected routes
- Input validation
- Node.js
- Express.js
- MongoDB (Mongoose)
- JWT (JSON Web Tokens)
- Multer (file upload)
- Cloudinary / Media storage (if used)
pintest_back-end/
├── routes/
├── models/
├── middleware/
├── utils/
├── config/
├── controllers/ (optional)
└── server.jsgit clone https://github.com/sharadhkr/pintest_back-end.git
cd pintest_back-endnpm installCreate .env:
MONGO_URI=your_mongo_uri
JWT_SECRET=your_secret
PORT=5000npm run dev| Method | Endpoint | Description |
|---|---|---|
| POST | /auth/login | User login |
| POST | /auth/register | User register |
| GET | /pins | Get all pins |
| POST | /pins | Create pin |
| DELETE | /pins/:id | Delete pin |
- 🧠 AI-based recommendation feed
- ❤️ Like / Save system
- 💬 Comments system
- 📊 Analytics & trending engine
- ⚡ Redis caching layer
Pull requests are welcome! Feel free to improve performance, structure, or features 🚀
Sharad Rathore 🚀 Full Stack Developer
If you like this project:
👉 Star ⭐ the repo 👉 Share it
“A backend is not just APIs — it’s the engine of scalability.”
