lijim / monks-and-mages

Monks and Mages is a TCG-game built on React and socket.io
https://www.monksandmages.com
MIT License
17 stars 0 forks source link

Chore: Consolidate the db-service repo into this one #467

Closed lijim closed 8 months ago

lijim commented 8 months ago

At $7/ month per server, hosting a separate server for https://github.com/lijim/monks-and-mages-db-service and https://github.com/lijim/monks-and-mages-reverse-proxy is becoming a tad expensive.

This PR consolidates the work in the DB service into the main express app so that the main express app serves all static content, hosts the websocket server, and incorporates DB-accessing API calls (such as fetching all decks for a user) into one singular express app

Pros:

Cons: