VikramadityaDev / zerolimit_backend

Zerolimit Backend

Repository from Github https://github.comVikramadityaDev/zerolimit_backendRepository from Github https://github.comVikramadityaDev/zerolimit_backend

Deploy Zerolimit Backend on Railway

This backend is built with Python + Quart and can be deployed to Railway for free.
Follow the steps below to deploy it manually.


Requirements

  • A Railway account (free tier available)
  • A GitHub account
  • Your Telegram API credentials (API_ID, API_HASH)

Step 1: Fork This Repository

Click the Fork button at the top right of this repo (or fork here)
This gives you your own copy that Railway can access.


Step 2: Create a New Railway Project

  1. Deploy on Railway
  2. Choose Deploy from GitHub repo.
  3. Connect your GitHub account (if not already connected).
  4. Select your forked repository (zerolimit_backend).

Step 3: Configure Environment Variables

In Railway, open the Variables tab of your project and add:

Variable Description
API_ID Your Telegram API ID from my.telegram.org
API_HASH Your Telegram API Hash from my.telegram.org

Step 4: Start Command & Port

Railway detects Python automatically, but verify:

  • Start Command:
    python login.py
    

Port: 5000 (Railway sets PORT automatically, so in login.py make sure you bind host=0.0.0.0 and port=5000.)

Step 5: Deploy

  1. Click Deploy.
  2. Wait for Railway to build and start the container.
  3. Once running, Railway gives you a public domain like: https://your-app-name.up.railway.app This is your backend API URL.

Step 6: Testing Your Backend

Visit:

https://your-app-name.up.railway.app/ping

If everything is working, you should see a JSON response like:

{ "status": "ok" }

Notes

  • Free tier gives you 512 MB RAM and 5 GB storage per month.
  • For heavy usage or many users, upgrade your plan.
  • If deploying for the first time, you will be asked to log in via Telegram in the backend logs.

About

Zerolimit Backend


Languages

Language:Python 99.6%Language:Procfile 0.4%