Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AdonisJS: the fully-featured Node.js framework

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

AdonisJS: the fully-featured Node.js framework

Introducing AdonisJS, what does it mean to be a fully-featured framework, and how AdonisJS compares to the type of frameworks the Node.js ecosystem is used to.

Avatar for Chimezie Enyinnaya

Chimezie Enyinnaya

June 05, 2021

Other Decks in Programming

Transcript

  1. Who am I I’m Chimezie Enyinnaya, a self-taught software developer

    based in Lagos, Nigeria. I enjoy sharing my knowledge so that others can benefit from it. I'm the founder of adonismastery.com where I teach about AdonisJS, Node.js, and JavaScript at large.
  2. What does it mean to be a fully-featured framework •

    Robust routing system • Powerful ORM called Lucid • Support for multiple databases • Database query builder • Database seeder • Migrations and schema builder • Authentication • Social authentication • Authorization • Form validation • Template engine called Edge • File uploads • Sending emails • Assets manager • Security against things like CSRF (Cross-Site Request Forgery) and CORS (Cross-Origin Resource Sharing) • Health checks • CLI • Built-in REPL • etc. AdonisJS includes everything you need to create fully functional web applications or APIs.
  3. How does it compare to other frameworks • Not a

    minimalist framework • First-party packages with unified APIs • Convention over configuration • Standardised directory structure • Ground up implementation • Written in TypeScript
  4. Getting started •Node.js >= 14.15.4 and npm >= 6.0.0 •adonis-ts-app

    •npm init adonis-ts-app hello-world •yarn create adonis-ts-app hello-world •Project structure •web •api •slim •ace CLI