adonis-nextjs-starter
adonis-nextjs-starter copied to clipboard
Adonis NextJS Starter
This is the boilerplate for creating an API server in AdonisJs with Next.js, it comes pre-configured with.
- Bodyparser
- Authentication
- CORS
- Lucid ORM
- Migrations and seeds
Setup
Use the adonis command to install the blueprint
adonis new yardstick --blueprint=omarkhatibco/adonis-nextjs-starter
or manually clone the repo and then run npm install.
Migrations
Run the following command to run startup migrations.
adonis migration:run