# Deploy your project with Railway Let's use [Railway](https://railway.app/) to deploy our apps for free in a few simple steps! ## 1. Connect Railway to Github Go to [Railway](https://railway.app/) and click **Start a New Project** ![](https://i.imgur.com/gV9gpOo.png) Choose **Deploy from Github repo** ![](https://i.imgur.com/edVVBoL.png) Click **Login with Github** and follow the instruction to authorize access to your Github. ![](https://i.imgur.com/eTxgv3m.png) Once it's done, Railway will redirect you back to the same **New Project** screen but thí time you'll notice your Github avatar on top right corner. You're logged in! ![](https://i.imgur.com/xzxcBXI.png) ## 2. Deploy your project Choose **Deploy from Github repo** as in the last picture. Railway will show you a list of your repos. Choose the repo you want to deploy. ![](https://i.imgur.com/3sXeCSR.png) Click **Deploy Now**. ![](https://i.imgur.com/gqR8X4P.png) After a few seconds, you'll see this screen below. It's time to set your **Environment Variables** (the variables you would have in your `.env` file in your local project like your Mongo URI, API key, etc.,) ![](https://i.imgur.com/OHuAxwb.png) Enter and save all the variables you'll need. ![](https://i.imgur.com/5P24Nan.png) ## 3. Generate Your Domain Name Your domain name is the URL you can use to access your app from the browser or send requests to that URL if it's a back-end app. Go to **Settings** and scroll down to look for **Domains**. ![](https://i.imgur.com/rZjNjBO.png) Click **Generate Domain** to get a URL. ![](https://i.imgur.com/6HeUKjR.png) Voila! Now you can access your app using that URL to test if it's working. ![](https://i.imgur.com/UMfAxoC.png) And it does! *The app is live!* ![](https://i.imgur.com/OYX1L4Z.png) ***Happy coding!***