LeagueStats/server
2019-09-26 21:20:27 +02:00
..
app (refactor): create a ServiceProvider for the Jax wrapper 2019-09-11 20:19:15 +02:00
config Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00
database Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00
providers/Jax fix: improve JaxRequest wrapper 2019-09-26 21:20:27 +02:00
start (refactor): create a ServiceProvider for the Jax wrapper 2019-09-11 20:19:15 +02:00
.editorconfig Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00
.env.example Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00
.gitignore Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00
ace Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00
package-lock.json Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00
package.json Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00
README.md Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00
server.js Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00

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