How to pull user-specific data from database after user login.

Posted 8 months ago by larasande

So I'm trying to have the dashboard page after the user logs in to display user-specific information about them. Like for instance, I would like the page to say "Hi [name of user as displayed in the database]". Any tips about how I should go about this?

This is how my blade file looks:


<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">Dashboard</div>


                <div class="card-body">
                    Hi volunteer organisation. Welcome to your dashboard.

                    <p>Click here to view a list of volunteers who are interested in your cause.</p>

Please sign in or create an account to participate in this conversation.