After reading this article you will be able to deploy your app in 1 line of command *literally* (the setup is 5 steps though). So smash ALL of ❤️ 🔖 🛳 on your left and let's dive right in !
brew install composer
Of course you need to have brew installed https://brew.sh/ - Its the best package manager of Mac OS
If you are on Windows,
use these links:
PHP build for Windows download - https://php.net
Composer Installation Instructions here - https://getcomposer.org/doc/00-intro.md
composer global require beyondcode/expose
Now add this to your
.zshrc or .bashrc file based on whatever terminal you are using.
Then restart your terminal and type
expose to see if the command is recognized or not.
STEP 3 - Go and get yourself one of these 🍺 , cuz I believe you completed the hardest part of the journey
STEP 4 - Now create an account on https://beyondco.de/ and you will be given a token so register that with your terminal
expose token [YOUR-AUTH-TOKEN]
Here you go (☞ﾟヮﾟ)☞
expose share https://127.0.0.1:400 --subdomain="subd" --auth="admin:123"
This will link your local dev server running at 127.0.0.1:400 to a url subd.sharedwithexpose.com which anybody on the internet can access with the credentials.
username: admin password: 123
You can customize the subdomain and auth credentials to whatever pleases you for free unlike https://ngrok.com
Official docs https://beyondco.de/docs/