← Projects

Honkai-Starbucks

Your Star Rail roster, as infrastructure.

AngularNode.jsMongoDBgRPC planned

Honkai-Starbucks home page

01Overview

Honkai-Starbucks is a web app for Honkai: Star Rail players: fetch real-time player data, build teams, and — once the battle server lands — simulate combat in the browser. The project is under active development, and the README says so up front.

The backend is split into focused Node.js microservices: a MainServer routing entry point, a LoginServer owning credentials in MongoDB, a TrailBlazersServer managing player data and team CRUD (pulling live game data through starrail.js), and a BattleServer — currently under construction — destined to own combat mechanics and fair real-time outcomes. Services talk HTTP via Axios today, with an upgrade to gRPC planned. The client is an Angular single-page app, started alongside the servers with the provided start scripts.

02Architecture

RUN ./start_servers.sh → ng serve + 4× node app.js browser Angular :4200 ng serve Tailwind · Material Main :3000 axios proxy cache · socket.io Login :5000 argon2 · 2FA · mail TrailBlazer :9000 starrail.js live API Battle :8000 stub · MoC sim MongoDB Atlas LoginDB · TrailBlazerDB · BattleDB mongoose tier-list.json · static 1 2 3 4 4 4 5
One client, one proxy, four servers — game data live from starrail.js, everything else in Atlas.

03Stack

BackendNode.js + Express 4 microservices (Main router, Login, TrailBlazers, Battle), Mongoose 8 on MongoDB, Axios between services with gRPC planned
Authargon2 password hashing, node-2fa second factors, nodemailer email flows
Realtimesocket.io channels and node-cache on the Main server
Game datastarrail.js for live Honkai: Star Rail data, cached in front of MongoDB
FrontendAngular 18 + Material + Tailwind v4, rxjs throughout, per-domain api/trailblazer/user services
Hygieneexpress-async-handler, morgan request logging and http-errors on every server

04Under the hood

05Screens

06Roadmap

Repository with setup instructions →