Build a FastAPI endpoint to create a user. Use request and response schemas, return 201, and add one integration test for success plus one failure path for duplicate email or invalid payload.
