arrow_back Back to Notebook
webpack
webpack
January 10, 2019

Proxy requests using Webpack

Using webpack you can proxy requests from one directory eg http://localhost:8080/profile to another address.

Proxy example

devServer: {
    proxy: {
        "/profile" : "http://localhost:5000"
    }
}

Why its useful

This is useful if you need to direct your frontend project to hit a resource on a different server

<img src="./profile"></img>

Thanks for reading!

John Wiseman

Full-Stack Software Engineer building scalable digital solutions. specializing in modern web technologies and mission-critical systems.

© 2026 Wiseman Systems Pty. Ltd.

Navigation

Start a Conversation

Ready to discuss your next project? Let's build something extraordinary together.

Get in Touch