Read the AdonisJS documentation to get a full insight about this framework.
This is the fullstack boilerplate for AdonisJs, it comes pre-configured with.
- Bodyparser
- Session
- Authentication
- Web security middleware
- CORS
- Edge template engine
- Lucid ORM
- Migrations and seeds
- Testing
It also includes a pre-configured Webpack that caters specifically for React-TS
npm install -g @adonisjs/cli
npm install
adonis key:generateFrontend only:
npm run hotFull:
npm run dev -- --w
adonis serve --dev -i resources,compiler,publicNote: Make sure your .env is identical with the .env.example
Optional
Run the SSR:
npm run ssrRun frontend test watch:
npm run test-frontend:watchTip: Append -- --w on the following webpack commands on top to get the watch version
adonis migration:runadonis seed --files DatabaseSeeder.jsFrontend:
npm run test-frontendBackend:
npm run testRun lint:
npm run lintRun bundle analyzer:
npm run build:stats
npm run analyzenpm run prod
npm run ssrTest the production:
npm run serve-frontendFollow me at twitter: 🐔