We start with a brief introduction to AdonisJS and the format of the course.
In this lesson, we set up our computer by installing the necessary requirements for AdonisJS 5 such as Node.js >= 12 and NPM >= 6.
In this lesson, we see how to create our first AdonisJS 5 application using create-adonis-ts-app.
Ace is a command line tool for executing AdonisJS commands. In this lesson, we take a look at how to make use of it to run commands.
In this lesson, we go over the directory structure of an AdonisJS 5 application.
Routes serve as entry points to an AdonisJS application. In this lesson, we cover how to create routes.
We have seen how to create static routes, what if we want to create dynamic routes? In this lesson, we cover how to do just that.
While it’s totally fine to use inline handler, but this can make routes.ts to become messy. Hence, it is recommended to move route handling implementation out of the routes file to a dedicated file called controller.
Naming routes can save time or help prevent broken links if we ever change the URLs later on. In the lesson, we cover that named routes are and how to use them.
Edge is AdonisJS templating engine, and in this lesson, we cover the basics of the templating engine.
Ideally, we will need to pass data to our views, be it from the database, the HTTP context, or even computational data. Let’s see how we can do that.
Typically, we would want to have a kind master HTML layout, which other pages can extend instead of having to repeat the same HTML boilerplate across all pages. Luckily for us, Edge has support for layouts.
In this lesson, we cover how to extend a layout we created in the last lesson.
Unless we are building a static site, our application will definitely need some database interactions. In this lesson, we set up a database for our application.
We can think of migrations as some kind of version control for database schema. We cover what migrations are and how to create our first migration.
Lucid is AdonisJS ORM and it represents the M in AdonisJS MVC structure. In this lesson, we cover what Lucid is and how to create a Lucid model.
In this lesson, we start off by covering how to secure our application against CSRF when working with forms and then move on to create tasks.
As good developers that we are, we know too well not to trust user-submitted data. So in this lesson, we cover how to validate form data to make sure users fill our form correctly.
It will be nice to have a kind of feedback that a task was created successfully. We cover how to do just that with flash message.
In this lesson, we look at how to retrieve and display all the tasks that have been created.
In this lesson, we cover how to mark a task as completed as well as mark a task as uncompleted.
In this lesson, we cover how to delete tasks.
AdonisJS provides a seamless way to add authentication to our application, but we need to first install and set up the
In this lesson, we cover how to allow users to an create account in our application.
In this lesson, we add the ability for users to log out of their account.
Upon registering, users are logged in automatically. In this lesson, we cover how to allow users to manually logging in to their account.
In this lesson, we cover how to secure and enhance our application using middleware.
With the authentication system in place, let's add a way to associate tasks with users.
In this lesson, we cover how to make use of the defined relationship to create user's tasks.
Instead of fetching and displaying all created tasks, let’s fetch and display only the tasks for the currently authenticated user.
No comments yet.