---
# System prepended metadata

title: 'PolkaCombat: Game API Server'

---

# PolkaCombat: Game API Server

<br>

## **Details**

This code base serves as the middle man or bridge between the Game (custom mugen) code base and PolkaCombat frontend/backend code bases. In short, if you want to change some of the character's ability (power, speed, etc) the process will be:

1. PolkaCombat frontend will trigger an api call to main backend
2. then the main backend server will trigger an api call to Game API server
3. which then the game code base itself will fetch and response to the call
4. then those changes will reflect on the game which lives inside the windows server (Vultr platform).

<br>

#### :pushpin:  Routes

You will notice that there are other route controllers. Just don't mind them. Focus on the mugen routes and controllers. You can just delete the other routes and controllers. Those are just for testing/play/learning purposes.

<br>

#### :pushpin:  Vital

Right now, the database is residing inside Atlas platform, free tier. Just install any GUI for MongoDB, like Compass, then use this connection URI below:

`mongodb+srv://melodiccrypter:sus3JChrist7!@custommugenservercluste.dxgtz.mongodb.net/customMugen`

And then export the database and then just create a new MongoDB inside DigitalOcean then import the data. That way you can manage all data in one platform.

<br>

:::info
:bulb: NOTE: This codebase is hosted on DigitalOcean. Just select RetainLab projects then select *retainlab-betz-custom-mugen-server* droplet.
:::
