Register a new user using Swagger
This page will show how to register a new user into Mentorship System and verify the email using Swagger UI and a temporary email creation service provider.
- Go to the Backend public API page (you can find the most recent URL on README). You'll see a Swagger UI. Click on POST /register from User API.
- Create a temporary email to create the new user, so that you can create multiple users without ever using your personal email.
For this, I tend to use https://temp-mail.org/ service. This will allow you to use an arbitrary email and verify the email to be able to login in the app and use protected APIs.
- Copy the email you see in the website.
- Register the new user using POST /register from User API. Here you can fill the user data however you want as long the username and the email is unique in the system.
- Check for new emails on the temporary email inbox.
- Open the email and click the link provided in the email body.
- By clicking the above link, you'll be forwarded to this page which shold confirm you successfully confirmed your email.