bleugateau / Arkanic-Touch

This is an ugly game server reproduction of the mobile game Dofus Touch (Ankama) for learning NodeJs and ES6.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arkanic (Proof of Concept)

This is an ugly reproduction of the game server of the mobile game Dofus Touch (Ankama) in NodeJs with ES6 (a lot of bad practice, that was my first ES6 app). Stars repos for more ❤️

Arkanic Touch Emulator

Installation

  1. Install dependencies:

For npm:

npm install

If you use yarn

yarn install

  1. Install database in MySQL server.
  2. Configure file config/config.js with your MYSQL informations
  3. If you have change AUTH_PORT value in config/config.js you need to change this line in config/config.json:

actual:

"dataUrl": "http://localhost:3000",  
"haapi": {  
  "id": 18,  
  "url": "https://haapi.ankama.com/json/Ankama/v2",  
  "url": "http://localhost:3000/haapi",  
  "hostname": "ankama.com"  
},

by

"dataUrl": "http://localhost:YOUR AUTH PORT",  
"haapi": {  
  "id": 18,  
  "url": "https://haapi.ankama.com/json/Ankama/v2",  
  "url": "http://localhost:YOUR AUTH PORT/haapi",  
  "hostname": "ankama.com"  
},
  1. Now you can run the server:

For yarn:

yarn build

For npm:

npm build

About

This is an ugly game server reproduction of the mobile game Dofus Touch (Ankama) for learning NodeJs and ES6.

License:Apache License 2.0


Languages

Language:JavaScript 100.0%