![Idea lightbulb](/img/1/tips_1697770326569.png?w=800)
![Idea lightbulb](/img/1/tips_1697770326569.png?w=192)
Tips
Tips and tricks to help you level up your skills with AdonisJS. These are typically shorter, hyper-focused, lessons meant to answer frequently asked questions throughout the AdonisJS community.
Series.
Lessons.
![Video preview](https://videos.adocasts.com/07af3b02-fb00-4468-b05a-1555272f14da/preview.webp)
![HTTP Method Spoofing HTML Forms](/img/1/http-method-spoofing-forms_1708125027515.jpeg?w=650)
HTTP Method Spoofing HTML Forms
In this lesson, we'll learn how we can enable HTTP Method Spoofing to allow AdonisJS to spoof intended HTTP Verbs for basic HTML form POST requests.
![Video preview](https://videos.adocasts.com/bfbbe31e-ab6d-45f4-b765-b513350d0aa7/preview.webp)
![EdgeJS HTML and ClassNames Utiltiies](/img/1/edgejs-html-and-classnames-utilities_1707518588835.jpeg?w=650)
HTML Attribute and Class Utilities
In this lesson, we'll take a look at a few powerful utilities provided by EdgeJS that make working with attributes and conditional classes a breeze.
![Video preview](https://videos.adocasts.com/0fef5959-df1c-4cf8-bc00-aaa5859b95f1/preview.webp)
![NodeJS Subpath Imports](/img/1/nodejs-subpath-imports_1707175255928.jpeg?w=650)
Easy Imports with NodeJS Subpath Imports
In this lesson, we'll learn about NodeJs Subpath Imports and how AdonisJS leverages them to help simplify our import paths throughout our application.
![Video preview](https://videos.adocasts.com/105b2d0b-d064-4e9b-add6-1f0787c082e0/preview.webp)
![Custom Starter Kits](/img/1/bring-your-own-starter-kit_1707175070020.jpeg?w=650)
Quick Start Apps with Custom Starter Kits
In this lesson, we'll take a look at AdonisJS' bring your own kit feature that allows us to use Git repositories as starter kits when creating a new AdonisJS application.
![Video preview](https://videos.adocasts.com/59e32fba-e2b6-4c49-af08-d93c7660e2d9/preview.webp)
![Adocasts Plus Exclusive](/imgs/plus-badge-100.png)
![Mixins and Compose](/img/1/mixins-and-compose_1702818550030.jpeg?w=650)
A Deep Dive Into Mixins & Compose
In this lesson, we'll walk through what mixins are and how they work by first inspecting them as plain objects then working our way into classes then finally TypeScript. We'll then implement mixins via AdonisJS' compose utility.
![Video preview](https://videos.adocasts.com/b83afd27-bb3f-4a07-9d57-1defb7a81db6/preview.webp)
![Adocasts Plus Exclusive](/imgs/plus-badge-100.png)
![Location from user IP address](/img/1/2023-location-from-ip_1698965604824.jpeg?w=650)
How To Get City and State Info from User’s IP Address using IP2Location
In this lesson, we'll learn how to get our user's city, region, and country location information using their IP address.
![Logging User Actions](/img/1/2023-07-logging-user-actions_1688859399318.jpeg?w=650)
How To Use AdonisJS Model Hooks To Log All User Actions
In this lesson, we’ll be taking a look at how we can log any and every user action performed against our AdonisJS models.
![Handling Expired Auth Session](/img/1/2023-06-Expired-Auth-Session_1687039337983.png?w=650)
Gracefully Checking and Handling An Expired Auth Session
In this lesson, we’ll take a look at how to gracefully reset the user’s stale session, which includes authentication, CSRF tokens, or anything else you may have set for the user.
![Redirect back after login](/img/1/2022-12-Redirect-back-after-login_1672272893978.jpeg?w=650)
How To Redirect Back to the Previous Page After Login with AdonisJS
In this lesson, we'll learn an easy way we can redirect our user's back to their original page after they login or register in an AdonisJS application.
![AdonisJS HTML Minifier](/img/1/2022-12-HTML-MINIFIER_1672272957667.jpeg?w=650)
Minify Your AdonisJS HTML in 5 Minutes
We'll learn how we can alter all our AdonisJS HTML response bodies using a simple global middleware to add HTML minification.
![AdonisJS Custom Global Helpers](/img/1/adonisjs-custom-global-helpers_1669465979652.jpeg?w=650)
How To Create Your Own Global Helpers in AdonisJS
In this lesson, we'll learn how we can create our own globally available helper methods & properties in AdonisJS.
![](/img/1/adonisjs-vue3-ts_1665252451798.jpeg?w=650)
How To Use Vue 3 with TypeScript in an AdonisJS Project
In this lesson, we’ll learn how to set up a Vue 3 TypeScript application within our AdonisJS project using Webpack Encore. We’ll start by getting Vue 3 working, then sprinkle in TypeScript support.
![Method Spoofing HTML Forms](/img/1/QT-9_1662235218354.jpeg?w=650)
Http Method Spoofing & Helper Components in AdonisJS
In this lesson, we'll learn how we can utilize Http Method Spoofing to send PUT, PATCH, and DELETE requests using native HTML forms. We'll then create utility functions to make the implementation cleaner.
![](/img/1/2022-Adonis-in-15-02_1660426960182.jpeg?w=650)
How To Do Multi Model Authentication with AdonisJS and Lucid ORM
In this lesson, we'll learn how to set up multi-model authentication using a User and Admin model with AdonisJS and Lucid ORM.
![](/img/1/quick-tip-8_1653736984768.jpeg?w=650)
How To Make Your AdonisJS Authentication Login Case-Insensitive
Learn how to make the AdonisJS login attempt query case-insensitive easily by adding a simple method to our User Model.
![](/img/1/2022-QT-06_1646439272971.jpeg?w=650)
How To Add A Custom Method to the Model Query Builder in AdonisJS
In this lesson, we'll learn how to define a macro for the Model Query Builder within an AdonisJS project to provide a new method onto all our Model's Query Builder.
![](/img/1/2022-QT-Camel-Case_1642277587680.jpeg?w=650)
How To Serialize All AdonisJS Lucid Model Properties As Camel Case
In this lesson, we'll learn how to use Naming Strategies in AdonisJS to alter the serialization behavior for all our model properties from snake case to camel case.
![](/img/1/2022-Adonis-Tailwind_1641666529606.jpeg?w=650)
How To Add TailwindCSS to a New AdonisJS Project
This lesson covers creating a new AdonisJS project that includes Webpack Encore, then adding and configuring PostCSS and TailwindCSS within the project.
![](/img/1/2021-WS_1638828574175.jpeg?w=650)
How To Add AdonisJS Edge Support to your WebStorm Environment
A quick tip on how to add AdonisJS Edge syntax highlighting to your JetBrains WebStorm environment using the VSCode plugin and TextMate Bundles.
![](/img/1/2021-QuickTip-JAGR-02_1637101543843.jpeg?w=650)
Debugging, Inspecting, and Freezing Code Execution
In this lesson, we cover a couple of ways to debug your AdonisJS application using the Edge inspect global function, the debugger keyword, and the Chromium NodeJS Devtools.
Showing 1 to 20 of 23 results