Deploy Republic 2126

Nation-building mass game for National Education, Secondary 3-4.

Deploy Republic 2126

Just deployed

/data

Deploy and Host Republic 2126 on Railway

Republic 2126 is a nation-building game for National Education, built for Secondary 3-4. Groups of five run a country as its ministers. They build it in class, then the whole cohort meets in the hall to face crises together. The winner is the most well-rounded country, not the richest.

About Hosting Republic 2126

One small Node.js server runs the whole game: the student app, the teacher console, the hall projector screen and the admin page. When you deploy, Railway asks for two passwords: an admin password for creating class rooms, and a hall key for running the cohort event. The site is ready as soon as the build finishes. Rooms are saved to a volume at /data, so they survive restarts and redeploys. There are no student accounts and no personal data. Keep it at one replica, because rooms live in the server's memory.

Common Use Cases

  • A National Education lesson where groups build a country and argue over trade-offs
  • A cohort-wide event, such as an NRIC ceremony, with every class playing on one projector
  • Teaching why balance matters: a country is scored by its weakest pillar

Dependencies for Republic 2126 Hosting

  • Node.js 18 or later, with no npm packages to install
  • A Railway volume mounted at /data

Implementation Details

After deploying, open /admin with your admin password and create a class room for each class. Teachers run their class from /host, students join at /play, and the hall event is opened with the hall key. If an admin password was too short, the site sends you to /setup to choose again, using the SETUP_CODE in your service's Variables tab.

Why Deploy Republic 2126 on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Republic 2126 on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
47
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
51