Aman Uniyal’s Post

*Before diving into building any website or application, one thing I’ve realized is how important it is to first design and understand your API endpoints. A clear API structure acts like a blueprint — it defines how your frontend and backend will communicate, keeps your project organized, and saves a lot of time during development. Here’s a quick look at the API endpoints I designed for DevConnect — a platform to connect with developers 🔹 Auth & Profile POST /signup – Register user POST /login – Login user GET /profile/view – View profile PATCH /profile/edit – Edit profile PATCH /profile/password – Update password 🔹 Connection Requests POST /request/send/like/:userId – Send interest POST /request/send/pass/:userId – Pass user POST /request/receive/accepted/:reqId – Accept request POST /request/receive/rejected/:reqId – Reject request 🔹 User Features GET /user/connections – User connections GET /user/requests/received – Received requests GET /user/feed – Suggested users Design first. Build later. It makes everything smoother 🚀 #webdevelopment #backend #api #nodejs #developer #learninginpublic #fullstack #javascript

  • text

To view or add a comment, sign in

Explore content categories