Skip to content

How to correctly pass API requests to another backend server #248

@ripitrust

Description

@ripitrust

Hi Team

  1. I have a backend python (flask) server running at localhost:5000, which provides API calls with json data
  2. Now I have the create-react-app running at localhost:3000, how should I pass the api calls back to localhost:3000?
  3. Previously, I use "proxy" option in the webpack-dev-server, but now I am not sure how to do it with create-react-app, do I absolutely have to eject it?

Thanks so much for the answer

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions