Skip to content

piotrmoszkowicz/bfp4f-lava

Repository files navigation

bfp4f-lava

Implementation of Battlefield Play4free's SHOP API in TypeScript/Node.JS.

Everything is done for educational purpose only. Lava is licensed by MIT license, besides parts which are intelectuall property of Electronic Arts / DICE.

Requirements

Following stuff must be installed to make app working properly:

You can also run lava by Docker. More info here.

Testing

App is using Jest test framework. Our goal is to have 70% of code tested.

Tasks

Task Description
start Alias of serve - you can simply use npm start
build Launches commands build-ts and eslint
serve node dist/server.js
watch Watches via nodemon dist/server.js
test Runs all tests in test directory
reformat Runs prettier and eslint
watch-test Runs test with watcher
build-ts Builds JavaScript from TypeScript sources
watch-ts Runs build-ts with watcher
eslint Runs eslint to check styles
debug Runs build and watch-debug - development env task
server-debug Runs server via nodemon
watch-debug Concurrently runs watch-ts and serve-debug

Develop

$ npm run debug

Debugger port :6666

About

Backend for Battlefield Play4Free's game interface. DONE FOR EDUCATIONAL PURPOSE ONLY

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published