-
Notifications
You must be signed in to change notification settings - Fork 0
Apply to be a mentor #35
Comments
OverviewOnce a user has registered and is authenticated in the app, they should have the ability to submit a registration to become a mentor. This will involve filling out a form that captures details of their background and what they are willing to offer in terms of time and skills as a mentor. Upon submission of this form, the user should get some form of instant feedback to confirm success and their registration should be saved in pending status. CodeHub admins should receive a notification that a new registration has been submitted so that they can perform a review and approve/decline the registration as appropriate. Technical approachWe’ll first need to create a A A controller method for this route will be required. As this is a route to create a resource an appropriate controller and method would be This controller method will need to serve an inertia page view under The form should be submitted to a Our form should be backed by server validation at a minimum (front end validation is nice but not as necessary) so we should create a laravel form request class to hold this validation logic: Validation - Laravel. We’ll also need to make sure our forms can access and display these server side errors: Forms - Inertia.js. If data is valid then our
For the redirect it might be worth creating a new route and controller: Things to consider
|
As a member of the mentorship programme
I want to register my interest in becoming a mentor
So that I can be paired with someone who wants to be mentored and share my technical knowledge
The text was updated successfully, but these errors were encountered: