InterviewDB Experience

User Creation Endpoint: Implement and Validate a REST API Endpoint for User Registration

Interview Experience

Problem Implement a POST /users endpoint for user registration. The request body is JSON. Your implementation must: Validate required fields: email (valid format), password (min 8 chars, at least one digit), username (alphanumeric, 3-20 chars). Check that the email is not already registered (query a mock DB). Hash the password before storing (do not store plaintext). Return 201 Created with {"id": ..., "email": ..., "username": ...} on success, or 400 Bad Request with validation errors, or 409 C…

Full Details

🔒

Unlock all Jump Trading questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a candidate experience report from a jump trading interview during the oa round.

It covers the following topics: Coding, Oa .