Cloudflare Tunnel
If you want to host your app over the internet, you have a few options. However, Cloudflare Tunnel is a secure and easy way to do it.
step 1:
You need to have an account setup with your credit card information. This service is free but you still need a credit card.
step 2:
- Select your tunnel type: cloudflared
- Name: raspberrypi or whatever you want
step 3:
step 4:
Public hostname:
- Subdomain: optional
- Domain: a domain you have setup in Cloudflare
- Path: optional
Service:
- Type:
http
- URL:
localhost:3000
Once you've clicked save tunnel
you should be able to visit your public hostname and see your app running on your pi.