Skip to content

landswar/server

Repository files navigation

LandsWar - Server

LandsWar Blog dependency status dev-dependencies status Build Status Code Climate codecov

Twitter URL Facebook URL

The LandsWar server which contains the API and the WebSocket server.

What is LandsWar?

LandsWar is a turn-based tactics online video game inspired by Advance Wars.

There are 3 types of units in the game (we don't have define the number of units in each category):

  • ground units
  • air units
  • naval units

Also, there are a lot of different type of ground with bonus or malus for units.

With LandsWar, you will be able to play against your friend and people from all around the world.

How to play?

Coming soon...

How to run locally?

I use async/await so you need node.js v8.

You need first to install docker-compose to start databases (Percona and Redis).

Then, you can run these commands:

yarn
yarn run start-docker
yarn start

If you have Postman installed, you can get and test all available routes with Postman:

Run in Postman

NPM commands

  • yarn run stop-docker To stop docker instances.
  • yarn run debug To start the app with the debugger on port 5858.
  • yarn run lint To run the ESLint code check.
  • yarn run fix-code To fix simple norm errors with ESLint.
  • yarn run create-db To create the Database.

Documentation

The API documentation is available here: https://landswar.github.io/server/

Questions / Bugs

If you find a bug or want a new feature, don't hesitate to create an issue.

License

GNU AFFERO GENERAL PUBLIC LICENSE

About

The LandsWar server which contains the API and the WebSocket server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •