Serve Website/Api from your own system
Anshul Gupta
Posted on June 10, 2020
Have you ever seen a condition when you need to change your design or API frequently to meet the demand?
I did, a few days back. Because of lockdown, My colleagues and I were working on a project from home. We are not in the same local network, so to connect backend and frontend I had to push to code to server then my colleagues start working.
Then I found a service called NGROK
How to use NGROK
- Go to their website
- Download setup for your OS and exact it.
- Open terminal in the same folder and type
./ngrok http port_to_map
example ./ngrok http 3000
Ngrok will provide you an URL. Using which you can access your api/website publically.
If you want to know more you can check this link Host website from local system.
I believe using NGROK is more easy than reading this article.
If you have a better alternative or solution, please let me know. I would love to explore.
▀█▀ █░█ ▄▀█ █▄░█ █▄▀ █▄█ █▀█ █░█
░█░ █▀█ █▀█ █░▀█ █░█ ░█░ █▄█ █▄█
Posted on June 10, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.