Skip to content

A little web app to run your heroku app without worrying about dynos

License

Notifications You must be signed in to change notification settings

sayeed205/Heroku-Switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ever thought of how can you run your heroku app without worrying about dyno hours or adding card to your heroku account? Heroku Switcher got you covered. It's a simple web app that allows you to keep your heroku apps running without worrying about anything.

Tech Stack


Git GitHub VisualStudio Postman HTML CSS JavaScript React npm Node.js Express mongoDB TailwindCSS Heroku

Usage

  • Create two Heroku accounts
  • Deploy your app on one heroku account only. We will call this your main account.
  • Leave the second account as it is.
  • Get API Keys from both the accounts and carefully fill all the required fields below.
  • Once you have filled up everything carefully, click on Add APP. Voila! your Heroku App should run with no downtime.

add new app

Tips & Tricks for Heroku

  • If you are using Gmail you can use googlemail.com domain to create new heroku account as Second account.
  • You can make UL account in heroku by using a "+" and a name after your mail
    example:
    sayeed205@gmail.com this is my main mail and I can use sayeed205+xyz@gmail.com to create new account in heroku. If your main mail banned in heroku then this methode won't work

Deployment

Local/VPS

  • install nodeJS

  • # clone this repo
    git clone https://github.com/sayeed205/Heroku-Switcher.git
    
    #change directory to the repo
    cd Heroku-Switcher
    
    # install node modules
    npm i
  • Setup Environment variables

    # create .env file
    touch .env
    # add environment variables
    PORT=5000
    MONGO_URI= #your mongoDB uri
    JWT_SECRET= #your jwt secret to auth user can be anything
    DB_NAME= #your mongoDB name
    COLLECTION_NAME= #your mongoDB collection name
    NODE_ENV=production
  • install add dependencies and make a production build for front end

    npm run build
  • start the app

    npm start
  • open the app in browser

    http://localhost:5000

Heroku

Deploy

Other Deployment Methods

  • WIP

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

A little web app to run your heroku app without worrying about dynos

Topics

Resources

License

Stars

Watchers

Forks

Languages