Adonisjs boilerplate for API server with pre-configured JWT
Branch: master
Clone or download
Pull request Compare This branch is 3 commits ahead of adonisjs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
database
start
.editorconfig
.env.example
.gitignore
README.md
ace
cmd.bash
package-lock.json
package.json
server.js

README.md

used for demoing the SQL error in database migration

steps to recreate the error

rename the ".env.example" file to ".env"

then run:

npm install
adonis migration:run
adonis migration:refresh

The following is the original README file on adonis offical sample repo


Adonis API application

This is the boilerplate for creating an API server in AdonisJs, it comes pre-configured with.

  1. Bodyparser
  2. Authentication
  3. CORS
  4. Lucid ORM
  5. Migrations and seeds

Setup

Use the adonis command to install the blueprint

adonis new yardstick --api-only

or manually clone the repo and then run npm install.

Migrations

Run the following command to run startup migrations.

adonis migration:run