LeagueStats/server
2019-12-02 20:41:05 +01:00
..
app refactor: give summoner region to JaxProvider for every call to Riot API 2019-12-02 20:41:05 +01:00
config feat: add redis 2019-12-01 16:20:27 +01:00
database feat: display match details (1st version: code needs some work) 2019-11-03 18:49:58 +01:00
providers/Jax refactor: give summoner region to JaxProvider for every call to Riot API 2019-12-02 20:41:05 +01:00
start refactor: fetch soloQ ranks in a 2nd request in match details 2019-12-01 20:44:41 +01: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 feat: add redis 2019-12-01 16:20:27 +01:00
package.json feat: add redis 2019-12-01 16:20:27 +01:00
README.md refactor: get last riot patch from backend instead of manually change it 2019-10-21 15:30:48 +02:00
server.js Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00

LeagueStats Backend

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