View on GitHub

rest-fornite-api

Docker image containing NodeJS API for Fortnite stats

Fortnite-API on NodeJs Server

Build Status codecov Docker Pulls code style: prettier Donate

Example

You can found SwaggerUI here https://skynewz-api-fortnite.herokuapp.com/api-docs

Authentification JWT

:warning: This API is now with JWT authentification. Send me an e-mail to obtain a login and password in order to use this with a valid token :warning: For all the /api routes, you need to set the Authorization; Bearer <token> header.

INIT

To setup this module, you need to have an account on Epic Games. After that you need to get 2 dedicated headers from Fortnite.

How to get these headers ?


Start with docker :whale:

You can use this docker-compose.yml replacing environements variables values by yours. in order to startup this API. Just download this file and docker-compose up

Start with nodejs

Requirements

Start in developement mode

$ git clone https://github.com/SkYNewZ/rest-fornite-api
$ cd rest-fornite-api
# Run
$ npm run dev

Start in production mode

$ git clone https://github.com/SkYNewZ/rest-fornite-api
$ cd rest-fornite-api
# build the TypeScript
$ npm run build
# Run
$ npm start

Endpoint

Supported plateform : pc, ps4, xb1. You can view endpoints at https://skynewz-api-fortnite.herokuapp.com/api-docs/

Just for fun

Skynewz Stats