Skip to content

Add Nginx To Serve as Proxy Server #22

Description

@mdiarra3

CORS....We are not able to correctly make a request for a file locally (apikeys.json) or make a request to certain APIs (MeetUp) without coming across that error. To follow best practices and avoid creating a security risk for the application we will need to modify the webpack server to handle proxy request.

Potential Sources:
Access Control CORS
Dont Hassle With CORS
Proxy APIs to Avoid Same Origin Issues
Server Proxy for Cross Origin Resource Sharing CORS
Web Pack Documentation

Acceptance Criteria:

  • Able to make a clean request with any API that doesnt triggers CORS
  • Able to make a request on the apikeys.json file. This requires updating the keys function within the utils.js

Metadata

Metadata

Type

No type

Fields

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