ejdelmonico

ejdelmonico

Member Since 4 Years Ago

Las Vegas, NV

Owner at Del Monico Web Services LLC

Experience Points 335,215
Experience Level 50

0 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 1507
Lessons
Completed
Best Reply Awards 285
Best Reply
Awards
  • start-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-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-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist 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.

26 Jun
2 weeks ago

ejdelmonico left a reply on Vuex Store

Sounds like a global mixin that gets the value from the store could be used in that scenario. However, there is always more than one way to handle it.

ejdelmonico left a reply on Command "php Artisan Optimize" Throwing Errors Re Some Routes W/ Closures

To return a view without a closure, you add it to the relevant controller.

Route::get('test', [email protected]);

// in controller
public function index()
{
    return view('test');
}

ejdelmonico left a reply on Laravel Passport | Login/Register Redirects To Welcome Page

Just add public $redirectTo = '/' in the appropriate controller. You can put whatever route you want by overriding $redirectTo.

24 Jun
3 weeks ago

ejdelmonico left a reply on Route Error Forbidden

You did include @csrf in your form, correct? Are you getting a 403 error?

20 Jun
3 weeks ago

ejdelmonico left a reply on Moment Package Add Some Javascript In My Css File

Show your webpack.mix.js file and tell us how you included moment in the project.

ejdelmonico left a reply on Form POST Not Working

First, you should replace the closing form tag and the submit button with:

<div class="form-group">
  {!! Form::submit('Create', ['class' => 'btn btn-sm btn-primary']) !!}
</div>
{!! Form::close() !!}
18 Jun
4 weeks ago

ejdelmonico left a reply on Vue And Mix Vendor Extraction

Are you sure you are putting all three js source files in the correct order? My projects work fine with including them at the end of the body. Your scripts should be something like:

<script src="/js/manifest.js"></script>
<script src="/js/vendor.js"></script>
<script src="/js/app.js"></script>
01 Jun
1 month ago

ejdelmonico left a reply on Dynamic V-model

When you fill out the input, what is displayed in vue-tools?

ejdelmonico left a reply on Installing Two Laravel Apps On Same Server

Did you allow enough time for the DNS to propagate? GoDaddy is notoriously slow and could take a few days. Also, make sure your .env file is updated for APP_URL to refer to the subdomain. There are many tools to check your DNS to make sure it is correct.

ejdelmonico left a reply on Dynamic V-model

Please post the full component code.

ejdelmonico left a reply on Laravel Nova Access Restriction Vie Gate Does Not Work

Then, try using Tinker to see if the user model actually has the role_id attached. Pick any user with Tinker to see the returned model.

31 May
1 month ago

ejdelmonico left a reply on Running Npm Run Prod In Production

I think most devs run nom run prod after deploying. That is what it is for...especially if using versioning. When you do, the manifest is updated for the hash change and the new js and css files will be called as long as you are using the mix() helper in your layout. For a basic Laravel site:

php artisan cache:clear
php artisan route:clear
php artisan route:cache
php artisan config:clear
php artisan config:cache

npm install
npm run prod

ejdelmonico left a reply on Load Local Package Through Composer

@ro You changed the composer.json so you should run composer dump-autoload and try again. Also, the url is a relative path to the local package.

ejdelmonico left a reply on Laravel Nova Access Restriction Vie Gate Does Not Work

Did you test the gate in a production environment? If I remember correctly, Nova allows all in local dev environment and uses the gate in a production one.

30 May
1 month ago

ejdelmonico left a reply on Passport With Cookies And CSRF Protection.

The cookie will not be visible on a nonencrypted connection. HTTPS provides encryption. Demonstrate it yourself. Try accessing the cookie on an HTTP connection...it will not be accessible.

29 May
1 month ago

ejdelmonico left a reply on HTTP Error Occurred During File Upload (404: File Not Found).

Did you see an error in your dev tools? Did you link your storage via php artisan storage:link?

ejdelmonico left a reply on Forge Server Has Gone Offline

Well, where do you have your VM? There is a way to access the instance via the panel they provide.

ejdelmonico left a reply on Nuxtjs And Lumen API

Depending on how you structure the project...for small, I usually use an index or __invoke method to point the app towards my blade layout. Then, vue-router can control what is displayed in the #app section.

ejdelmonico left a reply on Passport With Cookies And CSRF Protection.

It's encrypted so it doesn't matter if someone steals it. They won't go through all that trouble to try and decrypt by guessing the key. That is the whole point of using an encrypted cookie instead of the standard non-encrypted.

28 May
1 month ago

ejdelmonico left a reply on Axios

In a standard Laravel project, axios is available by accessing window.axios. Check resources/js/bootstrap.js for the import.

ejdelmonico left a reply on Passport With Cookies And CSRF Protection.

Use js-cookie and store the token as an encrypted cookie. The package makes it very easy. Pay attention to the storing JSON section of the docs.

https://github.com/js-cookie/js-cookie

ejdelmonico left a reply on Api Authontication Security

I usually recommend storing tokens in a secure cookie as opposed to local storage. js-cookie package makes that very easy.

https://github.com/js-cookie/js-cookie

Pay close attention to the instructions for JSON data storage.

ejdelmonico left a reply on Can't Log Back In After Calling LogoutOtherDevices()

Clear browser sessions and try again.

27 May
1 month ago

ejdelmonico left a reply on Resource "show" Method Show Me "403 Forbidden"

From the code you provided, I would have to ask whether you were logged in? Try logging in and hit the route again since the resource has the auth middleware. Also, if that is not the issue, please show the constructor in the controller.

25 May
1 month ago

ejdelmonico left a reply on Help With Booking System Timezone Offsets

Maybe you could refine your explanation for more context. If the user books a slot at 1200 ET, then you can convert that to UTC (1600) right away. Then, if someone viewed that slot in Los Angeles, the 1600 UTC would convert to 2100 UTC. In your case, I would use timestamps for the reference because then the calendar dates will convert correctly.

ejdelmonico left a reply on Spark Folder Not Tracked By Git?

The vendor/laravel/spark directory is a link to spark directory. Check inside that directory for the .gitignore. It should be there unless you already removed it.

ejdelmonico left a reply on Vue App Error In Laravel

Did you place a catchall route in web.php so that requests are sent to vue-router?

23 May
1 month ago

ejdelmonico left a reply on Password Reset Form Shows ERROR 404

By default, the reset token is only valid for 1 hour If I remember correctly. So, try a valid token.

ejdelmonico left a reply on Password Reset Form Shows ERROR 404

Well, as Snapey indicated, if you are using Valet or Homestead, you should be serving your site with public as the root for the webserver. Then change your APP_URL to http://localhost.

ejdelmonico left a reply on Password Reset Form Shows ERROR 404

The url is not correct. That is your problem. it should be http://localhost/password/reset/{token}

ejdelmonico left a reply on Password Reset Form Shows ERROR 404

Meaning did you override any of the standard auth views or controllers?

ejdelmonico left a reply on Password Reset Form Shows ERROR 404

I am assuming the dev domain is correct since you received a 404. Did you modify or override any of the included auth?

ejdelmonico left a reply on Password Reset Form Shows ERROR 404

Have you copied the url from the button and tried it in a new browser tab?

22 May
1 month ago

ejdelmonico left a reply on Site Broken Under Firefox As Of This Morning

Currently, Firefox 67 has no issues using MacOS.

11 May
2 months ago

ejdelmonico left a reply on Loading Vue

You probably want to just add the js asset to your layout template so it is available throughout the site. If you are trying to add a script from a blade partial, then:

// in the blade partial
@push('scripts')
    <script src="/example.js"></script>
@endpush

// in the head of the blade page layout
@stack('scripts')

ejdelmonico left a reply on How To Fix 500 And 429 Errors With Axios ?

You may be running into a common issue of component reuse in Vue. Use $nextTick per the docs.

ejdelmonico left a reply on Nova Value Metrics - Format Not Working

You should show the entire metric for context. Try using count instead of result.

ejdelmonico left a reply on New Component Is Not Displaying

@progr Do you have the closing </template> tag in the component? You are not showing the full TaskForm component.

ejdelmonico left a reply on Where To Store Your JWT Token

@Cor I usually store tokens as an encrypted cookie. The js-cookie package makes that very easy. The main thing to watch out for is that you want to avoid storing a sensitive token in localStorage.

ejdelmonico left a reply on A Facade Root Has Not Been Set

Did you uncomment the BroadcastServiceProvider in config/app.php?

ejdelmonico left a reply on Laravel Middleware Only()

You can specify only or except in the middleware constructor such as, $this->middleware('auth', ['only' => ['something']]);

ejdelmonico left a reply on Hello Friends Larvel Jwt Login Error

Did you issue the secret on the production server? php artisan jwt:secret

ejdelmonico left a reply on Alternative For Valet .test Domain

Personally, I have not faced your specific issue but I found a =n article that addresses' the issue. Hopefully, it will help you: article

ejdelmonico left a reply on Packages Not Being Defined

Give it a try with require() and see if the message goes away.

const PerfectScrollbar = require('perfect-scrollbar')
const Sticky = require('sticky-js')

ejdelmonico left a reply on Adding A DEV TLD Site

Did Let's Encrypt actually issue the certificate? It will fail if the site is unreachable. If the cert was issued, then the site should be available so check with another browser to see if the same result. Then, I would clear my DNS cache on your dev machine.

08 May
2 months ago

ejdelmonico left a reply on Nuxtjs And Lumen API

I usually, create a fresh Laravel app and then create my Nuxt or Vue app in a project root directory called frontend. I use a catchall web route and a SPAController to redirect to the frontend. For example, in routes/web.php,

Route::get('/{any?}', '[email protected]')->where('any', '^(?!nova|admin|horizon).*$');

This catchall will direct all routing requests to the frontend except for Nova, or an admin panel or horizon.

07 May
2 months ago

ejdelmonico left a reply on Nuxtjs And Lumen API

Lumen has lost its most of its luster. Full Laravel is almost as good these days. There are several ways to structure your app. Use Nuxt in the js directory with a catchall backend routing that directs to Nuxt. Or, you can even store Nuxt app in a top-level directory and make the necessary adjustments (this is my preference). Else, you can separate the two. There are a few courses on Udemy that you can grab for $10 that combine Laravel api with Nuxt. Every week they have course sales so it shouldn't be long before you see the $10 price on the course.

ejdelmonico left a reply on Laravel Vuejs [Vue Warn]: Unknown Custom Element: <router-link>

You need to include the router in your Vue instance in order to use router-link from vue-router.

ejdelmonico left a reply on [small Bug] Broken Link

To submit a bug report to Jeffrey, scroll to the page bottom and click on the support link.