0.0.13 â€ĸ Published 4 years ago

dev-api-tunnel v0.0.13

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

đŸ’Ĩ dev-api-tunnel

Http reverse proxy with CORS, cookies, origin and refer override!.

locahost:3000 -> tunnel-server localhost:3001 <- api.production.domain.com

â„šī¸ Usage

If you need a cookie for auth the session, copy it from the Browser and save to a file ".cookie.env"

npx dev-api-tunnel -p 3001 -t https://api.prod.domain.com -c .cookie.prod

Now your local Api server http://localhost:3001 will forward requests to https://api.prod.domain.com overriding refer, origin, cookies and adding CORS headers to the response

Enjoy running your local frontend http://localhost:3000 using real backend services!

👏 Contributing

If you are interested in contributing to dev-api-tunnel, open an issue or a pr!

🎉 Thanks

Thank You, Open Source!

📜 License

dev-api-tunnel is 100% free and open-source, under MIT.

0.0.13

4 years ago

0.0.12

4 years ago