Key Information

Register
Submit
The challenge is finished.

Challenge Overview

The current registration api creates only the User object, but provider endpoints require user.provider object to be filled in. In this challenge, you should do the following:

  1. Modify the api to require provider data when role is 'provider' and to create the Provider object for the new user. This needs to be done for form registration only, social login should always register 'consumer' role. Update the swagger.yaml file too
    Update the registration page in dsp-app (frontend) - add a choice for registering as consumer or provider. In case provider is selected, allow the user to enter the fields for the Provider data model. You can add only the required fields for now.

Verify that provider endpoints can be called with a new provider user (for example POST /provider/drones). Postman api calls can be used for verification.

API repository - https://github.com/topcoderinc/dsp-server
Frontend Repository - https://github.com/topcoderinc/dsp-app

Source: Github Issue #7

 



Final Submission Guidelines

  • Upload documentation for how to run your submission
    Upload all your source code as a zip for review

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30055923