Build a signup API that takes an email and a password. Accept the signup, store it, and return 201 with the created user. Complete UserService.signup. Note: POST /users accepts the signup.
Complete a signup API built on Spring Boot 3 and JPA (in-memory H2) that registers users by email and password. It takes a signup request, stores it, and returns the registered user with a 201. The controller handles only the HTTP boundary while the signup logic lives in the service.
An API like signup that takes data sent by a client and stores it centers on how incoming input is received and handled at the server boundary. A request can reach the server directly without going through a screen, so the server boundary becomes the first point at which input is handled. This problem practices the flow of receiving incoming sign-up data through to storing it.