---
title: "Discussion on \"How to solve CORS error in Node.js and React applications\" | Hashnode"
description: "Discussion on \"How to solve CORS error in Node.js and React applications\". In the previous article, I have explained how to deploy a Node.js application to Heroku. In this tutorial, we will be making use of the endpoint created there and see if we can use it in our React project.\nProject Setup\nLet's create a React project u..."
url: "https://hashnode.com/posts/how-to-solve-cors-error-in-nodejs-and-react-applications/630e1c1856df9e8e502563ac"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to solve CORS error in Node.js and React applications](https://codingdeft.hashnode.dev/how-to-solve-cors-error-in-nodejs-and-react-applications?utm_source=hashnode&utm_medium=feed)

In the previous article, I have explained how to deploy a Node.js application to Heroku. In this tutorial, we will be making use of the endpoint created there and see if we can use it in our React project. Project Setup Let's create a React project u...

Aug 30, 2022 · 5 min read · codingdeft.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Abhishek](https://hashnode.com/@codingdeft)

@codingdeft · India

  
[View profile](https://hashnode.com/@codingdeft)

Blogger @ codingdeft.com

Blogger at codingdeft.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
