What Socket.io events does DevTinder use?
join:chat (join a room), message:send (send a message), message:received (receive a message), typing:start (notify typing started), and typing:stop (notify typing stopped). All require JWT authentication via handshake auth.
Verify This Answer
Cross-check this information using these trusted sources:
More FAQs in DevTinder API Endpoints Complete Guide to All Routes and Responses
POST /api/signup (create account, returns user and sets JWT cookie), POST /api/login (authenticate, returns user and sets JWT cookie), and POST /api/logout (clears the JWT cookie).
POST /api/request/send/:status/:toUserId where status is 'interested' or 'ignored'. The endpoint creates a ConnectionRequest document. Returns 201 on success, 400 for invalid status or self-request, 404 if user not found, 409 for duplicate.
GET /api/feed?page=1&limit=10 returns a paginated list of user profiles, excluding the current user, connected users, and users with pending requests. Response includes data array and pagination metadata (page, limit, total, totalPages, hasNextPage).
Still have questions?
Browse all our FAQs or reach out to our support team
