frontend frameworks⏱10 minutes
Get Started with AdonisJs
Quick Summary
“TypeScript-first web framework for building web apps and API servers.”
Best for: Developers building scalable Node.js applications
Time to first integration: 10 minutes
📋Prerequisites
- ✓Node.js 18+ installed
- ✓A AdonisJs account — sign up here
- ✓An existing project (Next.js, React, or Node.js recommended)
Setup Steps
3 steps1
1
Install AdonisJS CLI
Install the AdonisJS CLI globally using npm.
bash
npm install -g @adonisjs/cli2
2
Create a new AdonisJS project
Use the CLI to create a new project.
bash
adonis new project-name3
3
Run the development server
Navigate to the project directory and start the server.
bash
adonis serve --devCommon Gotchas
Watch out for these issues in your first week.
TypeScript configuration errors
Fix: Ensure TypeScript is properly configured and all dependencies are installed.
Missing environment variables
Fix: Check the .env file for required environment variables and ensure they are set.
Related Guides
Setting up a full stack? Check out these complementary guides.