madprabh

madprabh

Member Since 3 Years Ago

Experience Points
10,410
Total
Experience

4,590 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
87
Lessons
Completed
Best Reply Awards
1
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 3
10,410 XP
Aug
15
2 months ago
Activity icon

Replied to How To Ensure New App.js Is Downloaded By Browser

Thanks a lot @sinnbeck! I appreciate the help and this is exactly what I was looking for.

Activity icon

Started a new Conversation How To Ensure New App.js Is Downloaded By Browser

Hey Folks,

I have a rather basic question.

So I use npm to build my application and to deploy it on the production server. Obviously it creates app.js that bundles all my Vue components. When I make changes to my components a new app.js is created but my browser has already cached the previous one.

How do I ensure that new app.js is downloaded by the browser? Some kind of query string appending is needed?

Any tips on this one will help me a lot.

Best, Madhu

Jul
21
3 months ago
Activity icon

Started a new Conversation Preventing Component Re-rendering On Route Changes

Hi Folks,

I am developing a VUE SPA using laravel and I have several different components that are mounted. For many routes, I have the same components that are mounted for example the left and right sidebar remains the same.

How can I prevent these components from re-rendering every time I change the route. For example

https://example.com/conversations/223 https://example.com/conversations/224

Both these routes are the same but show a different conversation. I don't want the common components to remount and fetch data every time I change routes that use the same common components.

Best, Madhu

Jul
20
3 months ago
Activity icon

Started a new Conversation Structuring A VUE SPA - Avoiding Component Remount

Hey Folks,

I have a rather basic question. How do we structure vue components so that the same components don't get mounted each time we invoke a URL.

For example,

I am developing a VUE SPA, that has a basic HTML skeleton and each feature on the page is a component.

  1. NavBar Component
  2. Main area component
  3. Recent Activity component (which is the sidebar on the right)

Each time I am going to a URL, all these 3 components mount for example /conversations /conversations/3

A recent Activity component is required in all these pages but it ends up remounting.

How do I make sure that it doesn't remount on every URL since its essentially the same component with the same data?

Best, Madhu

Jun
24
4 months ago
Activity icon

Started a new Conversation User Email Verification Using Laravel Sanctum?

Hey everyone,

Has anyone tried implementing user email verification with laravel sanctum. I am kinda stuck in this. Any pointers would be very helpful and appreciated...

Thanks.

Jun
20
4 months ago
Activity icon

Started a new Conversation How To Verify Email In Vue SPA When Using Laravel Sanctum

Hey Folks,

I am using VUE SPA+ Laravel backend(sanctum) with Laravel in-built Authentication. I am struggling to use the email verification link that is sent in a users email when the user creates an account on my site.

Any idea on how I can use the authentication link and make sure that the user is navigated to the dashboard upon authentication. My route file looks like this

Route::get('/{any}', function () { return view('layout'); })->where('any','.*'); Auth::routes(['verify'=> true]);

Any help on this is appreciated.

Jun
01
4 months ago
Activity icon

Awarded Best Reply on How To Secure The Connection To My Separately API Server?

If I understood your questions correctly, I think something like Laravel Sanctum can help

https://laracasts.com/series/whats-new-in-laravel-7/episodes/6

Your client(Vue SPA), however, should be in the same domain as the server for this to work.

May
31
4 months ago
Activity icon

Replied to How To Secure The Connection To My Separately API Server?

If I understood your questions correctly, I think something like Laravel Sanctum can help

https://laracasts.com/series/whats-new-in-laravel-7/episodes/6

Your client(Vue SPA), however, should be in the same domain as the server for this to work.

Activity icon

Replied to Axios Requests Going To Localhost Instead Of Domain Name

Thanks a lot, @tykus . This fixed my problem.

Activity icon

Started a new Conversation Axios Requests Going To Localhost Instead Of Domain Name

Hey Folks,

I recently deployed my code to AWS EC2 instance and have set up my Axios baseURL in bootstrap.js

window.axios.defaults.headers.common = {

	'X-Requested-With' : 'XMLHttpRequest',
	'baseURL' : 'https://www.mydomain.com',
	'withCredentials':'true'

};

however, my requests from the website still go to 127.0.0.1. I am using Vue frontend with laravel sanctum authentication.

Can someone tell me what I might be missing?

Apr
27
6 months ago
Activity icon

Started a new Conversation How To Set URL Attribute(while Uploading File) For TRIX WYSIWYG Editor In Vuejs

Hey folks,

I am implementing Trix WYSIWYG editor for one of my projects and I wanted to know how I could set the URL attribute of the attachment object with AWS s3 URL in vuejs.

Any help is greatly appreciated. If you can point me to a lesson that has this explained that would work too.