
Adonis is an open source Node web framework that follows the model view controller pattern, offering a built-in CLI and modular features like ORM and WebSockets.
Install and configure the bouncer package in AdonisJS 5, define actions or policies to enforce task ownership, and authorize show, edit, update, and destroy routes with csrf protection.
Configure the AdonisJS social authentication package, install and enable google oauth, set up redirect and callback routes, and update env vars with google client id and secret for seamless login.
Create the tag_post pivot table and model with migrations in AdonisJS 5, defining post_id and tag_id with cascade delete and configuring many-to-many and belongs to relationships.
Create and render post tags by building a dynamic tag interface with Bootstrap badges, manage tag indices, and attach click handlers to remove tags for form submission.
Implement the find related post method to fetch posts sharing tags with a given post, excluding itself, preload posts, and read images via the S3 service.
Understand how login differs for web browsers and mobile apps, using cookie-based authentication for web clients and token-based authentication for mobile devices, using app_user_agent header with header_key and client_agent constants.
The first section of the course will cover the fundamental concepts of handling routes in AdonisJS. AdonisJS is a robust Node.js web framework, and understanding how to handle routes is essential to building web applications using this framework.
The second section of the course will explore a more effective approach to managing HTTP requests using controllers. This section will build upon the first section, and students will learn how to manage HTTP requests in a more organized and efficient way.
The third section of the course will dive into the Edge template engine, which is a built-in feature of AdonisJS. Students will learn how to create and manage templates using this engine, which is a crucial aspect of modern web development.
The fourth section of the course will focus on database management, and throughout the course, students will be exclusively working with MySQL databases. This section will also discuss ORM, which stands for Object Relational Mapper, and its significance in modern web development.
After covering the fundamental modules of AdonisJS, the course will embark on two projects. The first project, TodoHut, is a simple yet practical todo application. Students will develop a full-stack web application that covers simple CRUD operations.
The second project, Perest App, is a semi-clone web-application of a popular social media platform "Pinterest". This project will allow students to explore the full range of features offered by AdonisJS, including authentication, authorization, and more.
By the end of the course, students will have gained an in-depth understanding of AdonisJS and be equipped with the skills to develop sophisticated web applications using this framework.