Description
In this course, you will learn :
- How to build routes, middleware, controllers, and views.
- Learn about the request and response objects.
- Learn about session drivers and methods.
- Understand how to validate user input.
- How to use a database.
- Learn about hooks, events, and the Adonis mail provider.
- How to write unit and functional tests in AdonisJs.
- The fundamentals of routing, controllers, middleware, hooks, and more.
Syllabus :
1. Routing and Middleware
- Routing
- Route Methods
- Route Parameters, Middleware, and Groups
- Middleware and Its Types
- Creating Middleware
2. Controllers and Views
- Controllers
- Views
- Edge Template Basics
3. Request and Response
- Request Methods and Method Spoofing
- Using Request Methods
- Response
- Using Response Methods
4. Session, Validator, and Logger
- Session Drivers and Methods
- Flash Messages
- Validator
- Logger
5. Database
- Migrations
- Column Type and Modifier Methods
- Seeds
- Models
- Fetching, Adding, Updating, and Deleting Data
- Query Builder
6. Hooks, Mail, and Events
- Using a Hook to Extend the Validator
- Using a Hook to Display the Relative Date
- Mail Methods
- Sending an Email
- Events
7. Tests
- Unit Tests
- Functional Tests