Skip to main content
The AdonisJS Starter Kit integrates a carefully selected set of libraries to provide a complete full-stack development experience. This page documents all major dependencies and their purposes.

Core Framework

AdonisJS Core

@adonisjs/core

Version: ^6.19.3The core framework providing routing, middleware, dependency injection, and application lifecycle management.

Backend Libraries

Authentication & Authorization

Version: ^9.5.0Provides authentication guards, session management, and user authentication flows.Features:
  • Session-based authentication
  • Token-based authentication
  • API tokens for users
  • Password hashing with bcrypt
Documentation
Version: ^3.1.6Authorization library for defining and checking user permissions and policies.Features:
  • Policy-based authorization
  • Role-based access control
  • Resource authorization
Documentation
Version: ^6.7.3CASL (pronounced “castle”) is an isomorphic authorization library that restricts what resources users can access.Features:
  • Fine-grained permissions
  • Isomorphic (works on both frontend and backend)
  • Ability-based authorization
  • Field-level permissions
Version: ^5.1.1OAuth authentication for social providers (Google, GitHub, etc.).Supported Providers:
  • Google
  • GitHub
  • Facebook
  • Twitter
  • LinkedIn
  • And more…
Documentation

Database & ORM

Version: ^21.8.2SQL ORM and query builder built on top of Knex.js.Features:
  • Active Record pattern
  • Database migrations
  • Seeders and factories
  • Relationships (hasOne, hasMany, belongsTo, manyToMany)
  • Query scopes
  • Hooks and events
Documentation
Version: ^8.16.3PostgreSQL client for Node.js. Used by Lucid as the database driver.Documentation

Email

Version: ^9.2.2Email sending library with support for multiple drivers.Supported Drivers:
  • SMTP
  • Resend
  • Mailgun
  • SparkPost
  • SES (Amazon Simple Email Service)
Features:
  • Template-based emails with Edge.js
  • Attachments
  • Queue support
  • Testing mode
Documentation

File Storage

Version: ^3.4.1Unified API for local and cloud storage.Supported Drivers:
  • Local filesystem
  • Amazon S3
  • Google Cloud Storage
Documentation
Version: ^5.0.1Simplifies file attachment handling for Lucid models with automatic cleanup and image processing.Features:
  • Automatic file cleanup
  • Image processing with Sharp
  • Multiple file attachments
  • Model decorators
Documentation
Version: ^0.34.4High-performance image processing library for resizing, converting, and optimizing images.Documentation

Security

Version: ^8.2.0Security middleware for protecting against common web vulnerabilities.Features:
  • CSRF protection
  • CSP (Content Security Policy)
  • HSTS (HTTP Strict Transport Security)
  • X-Frame-Options
  • XSS protection
Documentation
Version: ^2.2.1Cross-Origin Resource Sharing (CORS) middleware.Documentation
Version: ^2.4.0Rate limiting middleware to prevent abuse.Storage Options:
  • Database
  • Redis
  • Memory
Documentation

Session & Cookies

Version: ^7.5.1Session management with multiple storage drivers.Supported Drivers:
  • Cookie
  • File
  • Redis
  • Memory
Documentation

Validation

Version: ^3.0.1Form and data validation library built specifically for AdonisJS.Features:
  • Type-safe schemas
  • Custom error messages
  • Conditional validation
  • Custom rules
  • Async validation
Documentation

Internationalization

Version: ^2.2.2Internationalization for AdonisJS backend.Features:
  • JSON translation files
  • Pluralization
  • Formatting (dates, numbers, currency)
  • Locale detection
Documentation
Version: ^25.5.3Popular i18n framework for JavaScript.Documentation
Version: ^2.4.0ICU message format support for i18next, enabling advanced pluralization and formatting.Documentation
Version: ^15.5.2React bindings for i18next.Documentation

Data Transfer & Type Safety

Version: ^0.0.10Type-safe data transfer objects for AdonisJS. Simplifies data transformation between layers.Features:
  • Type-safe DTOs
  • Automatic transformation
  • Nested DTOs
  • Collection handling
Documentation
Version: ^0.0.15End-to-end type safety between AdonisJS backend and Inertia.js frontend.Features:
  • Automatic type generation
  • Type-safe API calls
  • Inertia integration
  • Request/response validation
Documentation

Modular Architecture

Version: ^1.1.0Organize your AdonisJS application into feature-based modules.Features:
  • Feature-based organization
  • Automatic path aliases
  • Module scaffolding
  • Improved maintainability
Documentation

Static Files & Assets

Version: ^1.1.1Serves static files from the public directory.Documentation
Version: ^4.0.0Integrates Vite for frontend asset bundling.Documentation

Frontend Libraries

React & Inertia

Version: ^3.1.1AdonisJS adapter for Inertia.js, enabling SPA experience without building an API.Documentation
Version: ^2.2.6React adapter for Inertia.js.Documentation
Version: ^19.1.0JavaScript library for building user interfaces.Documentation
Version: ^19.1.0React package for working with the DOM.

UI Components

A collection of accessible, unstyled UI components for React.Installed Components:
  • Alert Dialog (^1.1.14)
  • Avatar (^1.1.10)
  • Checkbox (^1.3.3)
  • Dialog (^1.1.14)
  • Dropdown Menu (^2.1.15)
  • Label (^2.1.7)
  • Navigation Menu (^1.2.13)
  • Popover (^1.1.14)
  • Progress (^1.1.7)
  • Radio Group (^1.3.8)
  • Scroll Area (^1.2.9)
  • Select (^2.2.5)
  • Separator (^1.1.7)
  • Slot (^1.2.3)
  • Tooltip (^1.2.7)
  • Direction (^1.1.1)
Documentation
Version: ^0.544.0Beautiful and consistent icon library with 1000+ icons.Documentation
Version: ^8.21.3Headless UI for building powerful tables and datagrids.Features:
  • Sorting
  • Filtering
  • Pagination
  • Row selection
  • Column resizing
Documentation
Version: ^2.0.5Beautiful toast notifications for React.Documentation
Version: ^1.1.1Fast, composable command menu for React.Documentation

Styling

Version: ^4.1.14Utility-first CSS framework for rapid UI development.Documentation
Version: ^4.1.14Official Vite plugin for Tailwind CSS v4.
Version: ^0.7.1Type-safe component variants for Tailwind CSS.Documentation
Version: ^3.3.1Merge Tailwind CSS classes without style conflicts.
Version: ^2.1.1Utility for constructing className strings conditionally.
Version: ^0.4.6Perfect theme management for Next.js and React apps (light/dark mode).Documentation

Animation

Version: ^12.23.12Production-ready animation library for React (formerly Framer Motion).Documentation
Version: ^1.3.2Animate.css integration for Tailwind CSS.

Utilities

Version: ^3.7.2Modern date/time library, successor to Moment.js.Documentation
Version: ^3.1.1Collection of useful React hooks written in TypeScript.Documentation
Version: ^0.2.2Polyfill for metadata reflection API, required for TypeScript decorators.
Version: ^3.25.67TypeScript-first schema validation library.Documentation

Build Tools

Monorepo & Build

Version: ^2.5.8High-performance build system for JavaScript/TypeScript monorepos.Features:
  • Incremental builds
  • Remote caching
  • Parallel execution
  • Task pipelines
Documentation
Version: ^7.1.9Next-generation frontend build tool with lightning-fast HMR.Documentation
Version: ^5.0.4Official Vite plugin for React with Fast Refresh support.

TypeScript

Version: ~5.9.3Typed superset of JavaScript.Documentation
Version: ^1.4.1Shared TypeScript configuration for AdonisJS projects.

Code Quality

Version: ^9.37.0Pluggable linting utility for JavaScript and TypeScript.Documentation
Version: ^3.6.2Opinionated code formatter.Documentation
Version: ^1.4.5Official Prettier configuration for AdonisJS.

Testing

Version: ^4.4.0Minimal and elegant test runner for Node.js.Documentation
Version: ^4.1.1Assertion library for Japa tests.
Version: ^4.0.0Japa plugin for testing AdonisJS applications.

Development Tools

Version: ^7.8.2Build tools for compiling AdonisJS TypeScript applications.
Version: ^0.4.0Hot module replacement for Node.js applications.
Version: ^13.1.1Pretty formatting for Pino logs during development.
Version: 1.13.5Super-fast TypeScript/JavaScript compiler written in Rust.Documentation

Template Engine

Version: ^6.3.0Simple, modern, and batteries-included template engine for Node.js.Used for:
  • Email templates
  • Server-side rendering
  • Component templates
Documentation

Summary

The AdonisJS Starter Kit leverages:
  • 25+ AdonisJS packages for backend functionality
  • 20+ Radix UI components for accessible UI
  • React 19 with Inertia.js for modern SPA experience
  • Tailwind CSS v4 for rapid styling
  • TurboRepo + pnpm for efficient monorepo management
  • TypeScript throughout for type safety
  • Japa for comprehensive testing
All dependencies are carefully selected to work together seamlessly, providing a robust foundation for building production-ready applications.

Build docs developers (and LLMs) love