So far, only users created with the
create-user script can log in and publish stories. In this section you will add a new API endpoint for users to sign up with the registration page.
|Registers a new user. An email and a password are expected in the request body.|
auth.controller.ts file and add a new route.
If you go the sign up page, you should now be able to register as a new user.