LeagueStats/server
2020-07-23 23:47:03 +02:00
..
app fix: log summoner puuid when riot match endpoint returns a 404 2020-07-23 23:47:03 +02:00
config chore: add redis connection settings to env file 2020-02-10 21:11:29 +01:00
database feat: display match details (1st version: code needs some work) 2019-11-03 18:49:58 +01:00
providers/Queue refactor: add redis cache in Riot API wrapper (Jax) 2020-04-26 20:07:17 +02:00
start refactor: add redis cache in Riot API wrapper (Jax) 2020-04-26 20:07:17 +02:00
.editorconfig Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00
.env.example chore: add redis connection settings to env file 2020-02-10 21:11:29 +01: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 identified roles in live game tab 2020-06-12 17:45:16 +02:00
package.json feat: add identified roles in live game tab 2020-06-12 17:45:16 +02: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