Leanpub Header

Skip to main content

Hands-On AdonisJS v4. The Laravel Flavour Node Framework

NodeJS world is vast and sometimes can be confusing. So AdonisJS comes to the rescue by helping us manage our app tidily and provides a lot of useful built-in features. The syntaxes are expressive and simple. The framework itself has been tested and performs well. I hope you can try it and who knows you can even upgrade career to next level!

Minimum price

$9.99

$14.99

You pay

$14.99

Author earns

$11.99
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
150
Pages
16,043Words
About

About

About the Book

This book is for anyone who want to learn about Adonis JS as one of Node framework. We are going to enjoy learning Adonis as the syntaxes are elegant and simple. The built-in features are complete and well tested. Then we will build a newsletter application complete with login and registration system. I have been using Adonis for my company where I work for almost 2 years now and so far it is stable and performs really well.

Share this book

Author

About the Author

Champ Ramentio

Full stack developer currently working at a digital advertising company

Contents

Table of Contents

Introduction

1. Getting Started

  1. Prerequisite
  2. Installing Node JS
  3. Alternative
  4. Adonis Concept
  5. Installing Adonis JS
  6. Creating New application
  7. Alternative

2. Folder Structure

  1. Structure
  2. Env file

3. Routing

  1. Usage
  2. Routes Methods
  3. Routes Parameters
  4. Route Middleware
  5. Route Groups

4. Middleware

  1. Server Middleware
  2. Global Middleware
  3. Named Middleware
  4. Creating Middleware

5. Controller

  1. Create Controller
  2. Controller Usage
  3. HTTP Context

6. View

  1. Creating View
  2. Edge Template Basic Usage
  3. Edge Template Tags

7. Request

  1. Request Methods
  2. Getting Parameters Usage
  3. Method Spoofing
  4. Multiple Files Upload Usage

8. Response

  1. Basic Response
  2. List of Response Methods

9. Session & Validator

  1. Session Usage
  2. Flash Methods
  3. View Helpers for Session
  4. Validator

10. Logger

  1. Logging Level
  2. Example

11. Database

  1. Migrations
  2. Seeder
  3. Models
  4. Lucid ORM
  5. Async/await
  6. Query Builder

12. Hooks

  1. Example 1
  2. Example 2

13. Mail

  1. Installation
  2. Usage
  3. Mail Example

14. Events

  1. Usage
  2. Example

15. Testing

  1. Getting Started
  2. Unit Test
  3. Functional Test

Real Case Example

  1. Getting Started
  2. Database Migrations
  3. Database Seeder
  4. Authentication Part
  5. Manage Recipients
  6. Manage Newsletter
  7. Deployment
  8. Closing

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub