{"id":4141,"date":"2020-07-22T13:09:35","date_gmt":"2020-07-22T07:39:35","guid":{"rendered":"https:\/\/www.concettolabs.com\/blog\/?p=4141"},"modified":"2020-07-22T13:09:35","modified_gmt":"2020-07-22T07:39:35","slug":"nodejs-with-reactjs-for-full-stack-development","status":"publish","type":"post","link":"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/","title":{"rendered":"How to use NodeJS with a ReactJS for full-stack development?"},"content":{"rendered":"<p>Are you planning on developing an app or a website? Then the biggest challenge you will face is a difference in frameworks. It is often an issue of different syntax at the backend and frontend framework.\u00a0 Here, JavaScript can help you with two frameworks for your full-stack development plans. One is Nodejs and the other is ReactJs.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4144 size-full\" title=\"Framework, Libraries, and Tools\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-2-2.png\" alt=\"Framework, Libraries, and Tools\" width=\"745\" height=\"483\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-2-2.png 745w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-2-2-300x194.png 300w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><\/p>\n<p>Among many of the frameworks in JavaScript, Node.js is quite popular. According to the <a href=\"https:\/\/insights.stackoverflow.com\/survey\/2018\" target=\"_blank\" rel=\"nofollow\">Stack Overflow<\/a> report, Node.js is preferred by 49.9% of developers. So, it is natural to choose the framework for your project. But, when you are selecting a front-end development framework, React.Js becomes obvious. Because it is also based on JavaScript and that is why there is no gap of syntax.<\/p>\n<p>Let\u2019s take an example of website development through a combination of Node.js with React.Js<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Creating_Your_Directory\"><\/span>Creating Your Directory:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The first step towards app development is to create a project directory. You can create one on your terminal. Create one through these codes.<\/p>\n<p>mkdir my_awesome_project<\/p>\n<p>cd my_awesome_project<\/p>\n<p>Next, we will create a front-end React.Js app.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Developing_the_React_App\"><\/span>Developing the React App:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>React.Js is a Javascript library created by Facebook. So, you can just get to <a href=\"https:\/\/github.com\/facebook\/create-react-app\" target=\"_blank\" rel=\"nofollow\">GitHub<\/a> and choose to create-react-app for your React.Js app.<\/p>\n<p>npx create-react-app client<\/p>\n<p>cd client<\/p>\n<p>npm start<\/p>\n<p>You can use npx for the creation of a React.Js app easily. If you don\u2019t have enough technical knowledge than you can get professional React.Js development in India. Npx is a tool created for the developers to extend the modules from the npm registry. It can help developers to use CLI tools and executables of the registry. Next, you need to change the terminal directory into the client directory and start the app.<\/p>\n<p>Navigate the http:\/\/localhost:3000 URL in your browser and congratulations there you are with a basic React.Js app.<\/p>\n<p>Now let\u2019s create a Node.js app. Here, we will use Express.Js. It is a minimalist framework based on the Node.js framework. It enables faster development and provides excellent features.<\/p>\n<p>We will create the app through <a href=\"https:\/\/expressjs.com\/en\/starter\/generator.html\" target=\"_blank\" rel=\"nofollow\">the Express app generator<\/a>. You can use the following code for executing the app.<\/p>\n<p>npx express-generator API<\/p>\n<p>cd API<\/p>\n<p>npm install<\/p>\n<p>npm start<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Through_this_code_we_can_get\"><\/span>Through this code, we can get:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Express generator from the npm\u2019s npx- we all know npm as the Node Package Manager<\/li>\n<li>We will create an Express app and name it API.<\/li>\n<li>Create a client directory into the API<\/li>\n<li>Install all the features and dependencies<\/li>\n<li>If all goes well we start the app<\/li>\n<\/ul>\n<p>Next, you need to use a similar localhost URL as we used in the React.Js into your browser to enter the app. So, now you have a backend app and a frontend app, its time for you to get the combination for your project.<\/p>\n<h4>Let\u2019s begin with the route creation.<\/h4>\n<p>Routing helps application endpoints or say URLs to respond to the user\u2019s requests. You need to define the routing of an Express.Js app.\u00a0 Professional developers use different code editors. Here we are using VS Code editor.<\/p>\n<p>Step1: Use the API directory and go to bin\/www. Edit the port on line 15 and enter 9000. So, when you will run the ReactJs app and Nodejs based Express app, there will be reduced bugs.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4145 size-full\" title=\"Route creation\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-3-2.png\" alt=\"Route creation\" width=\"690\" height=\"131\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-3-2.png 690w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-3-2-300x57.png 300w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/p>\n<p>Step2: Now create a testingAPI.Js inside the route and use the below code.<\/p>\n<p>var express = require(\u201cexpress\u201d);<\/p>\n<p>var router = express.Router()<\/p>\n<p>router.get(\u201c\/\u201d, function(req, res, next) {<\/p>\n<p>res.send(\u201cAPI is working properly\u201d);<\/p>\n<p>});<\/p>\n<p>module.exports = router;<\/p>\n<p>Step3: Enter a new route in the code line 24.<\/p>\n<p>app.use(&#8220;\/testAPI&#8221;, testAPIRouter);<\/p>\n<p>Step 4: Change the code in-line 9 and 25 to get your route as below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4146 size-full\" title=\"Route in the code\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-4-2.png\" alt=\"Route in the code\" width=\"690\" height=\"386\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-4-2.png 690w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-4-2-300x168.png 300w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/p>\n<p>Now when you start can start the Node.js app through API directory in the terminal. Just go to<\/p>\n<p>http:\/\/localhost:9000\/testAPI is an online browser, and check whether it\u2019s working properly or not.<\/p>\n<h4>Let\u2019s connect both the apps.<\/h4>\n<h2><span class=\"ez-toc-section\" id=\"How_to_connect_Reactjs_with_Nodejs\"><\/span>How to connect Reactjs with Nodejs?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Here\u2019s how we can connect both the apps for better results.<\/p>\n<p>Step1: Open the code editor, then go to the client directory and open the api.Js file.<\/p>\n<p>Step2:\u00a0 Next, you need to get data from the API, and paste this code into the editor after you declare all the classes.<\/p>\n<p>constructor(props) {<\/p>\n<p>super(props);<\/p>\n<p>this.state = { apiResponse: &#8220;&#8221; };<\/p>\n<p>}<\/p>\n<p>callAPI() {<\/p>\n<p>fetch(&#8220;http:\/\/localhost:9000\/testAPI&#8221;)<\/p>\n<p>.then(res =&gt; res.text())<\/p>\n<p>.then(res =&gt; this.setState({ apiResponse: res }));<\/p>\n<p>}<\/p>\n<p>componentWillMount() {<\/p>\n<p>this.callAPI();<\/p>\n<p>}<\/p>\n<p>Step3: Use the render method. Here, you need to find a &lt;;p&gt; tag. Next, make some changes to make it render that it renders the API response:<\/p>\n<p>&lt;p className=&#8221;App-intro&#8221;&gt;;{this.state.apiResponse}&lt;\/p&gt;<\/p>\n<p>After all the changes are done, you will get the final code like this.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4147 size-full\" title=\"API response\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-5-2.png\" alt=\"API response\" width=\"690\" height=\"596\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-5-2.png 690w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-5-2-300x259.png 300w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/p>\n<h4>Through this code.<\/h4>\n<ul>\n<li>We&#8217;re able to insert a constructor that can initialize the default state of the app.<\/li>\n<li>We also inserted a method called call API() that can get data from your API and store the response to user requests in state.apiResponse.<\/li>\n<li>We also executed a React lifecycle method,componentDidMount(), which is used by a <strong>ReactJS development company <\/strong>to execute call API() after the components are mount.<\/li>\n<li>I used the &lt;;p&gt; tag to represent the paragraph of text that we got from the API directory.<\/li>\n<\/ul>\n<p>You may think that it is done, but if you run both the apps together you may get such a message on your browser-<\/p>\n<p>\u201c<em>Failed to load http:\/\/localhost:9000\/testAPI: No \u2018Access-Control-Allow-Origin\u2019 header is present on the requested resource. Origin \u2018http:\/\/localhost:3000&#8242; is therefore not allowed access. If an opaque response serves your needs, set the request\u2019s mode to \u2018no-cors\u2019 to fetch the resource with CORS disabled.<\/em>\u201d<\/p>\n<p>In order to remove this error, you need to add CORS to the Node.js app.\u00a0 It stands for resources. It allows data access to web applications running on one origin from a resource at a different origin. It&#8217;s a set of additional HTTPS headers that direct the browser for such access to data for the web-apps. So, let\u2019s do it then.<\/p>\n<h5>Step1: First install the CORS package in the API(Node.js) directory.<\/h5>\n<p>npm install &#8211;save cors<\/p>\n<h5>Step2: Open the app.Js file in the code editor and edit line 6 like this.<\/h5>\n<p>var cors = require(&#8220;cors&#8221;);<\/p>\n<h5>Step3: Now ask express to use the package we installed at line 18 in the code.<\/h5>\n<p>app.use(cors());<\/p>\n<p>After these changes, your code will appear something like this.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4148 size-full\" title=\"Ask express to use the package\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-6-2.png\" alt=\"Ask express to use the package\" width=\"690\" height=\"746\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-6-2.png 690w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/node-with-react-6-2-277x300.png 277w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/p>\n<p>So, you have connected both Nodejs and Reactjs to run them simultaneously for frontend and backend. Just connect one of the apps with a database like MongoDB and you are ready for your next big web-app.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The rapid changes in the realm of the app and web development have pushed developers to create more robust collaborations. As for the <a href=\"https:\/\/www.concettolabs.com\/reactjs-development-company\" target=\"_blank\" rel=\"nofollow\"><strong>React.Js development services<\/strong><\/a> rely on the extensive open-source community for ready-made components. The compatibility of React with other JavaScript-based frameworks have gained traction. So, there is no harm in choosing a <a href=\"https:\/\/www.concettolabs.com\/reactjs-development-company\" target=\"_blank\" rel=\"nofollow\"><strong>React.Js development company<\/strong><\/a> for your UIs.<\/p>\n<p>The powerful Nodejs, as we saw here, can easily merge with ReactJs to create efficient web-apps and mobile applications. So, don\u2019t wait for your competitors to inspire your actions and use these technologies for your business growth. If you have any queries related to this method, get in touch with us.<\/p>\n<style>\n.blog-block-1{background:url(https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2020\/08\/app-development.png);background-position: center;background-repeat: no-repeat;background-size: cover;width:100%;margin: 0 auto;padding: 20px 60px 80px;text-align: center; }.blog-block-1 h3{font-size: 40px;color: #fff;line-height: 60px;text-align:center;}.blog-block-1 p{color: #fff;font-size: 20px;}a.blog-btn-1{padding:10px 30px;background: #fbbf13;color: #fff!important;font-size: 18px;border: 0;cursor: poi<span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span>nter; text-align:center}.blog-block-1 p{text-align:center;color:#fff!important;}<\/style>\n<p>&nbsp;<\/p>\n<div class=\"blog-block-1\">\n<h3><span class=\"ez-toc-section\" id=\"How_to_use_NodeJS_with_a_ReactJS_for_full-stack_development\"><\/span>How to use NodeJS with a ReactJS for full-stack development?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a class=\"blog-btn-1\" href=\"https:\/\/www.concettolabs.com\/inquiry\" target=\"_blank\" rel=\"nofollow\">Contact Us<\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#Creating_Your_Directory\" title=\"Creating Your Directory:\">Creating Your Directory:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#Developing_the_React_App\" title=\"Developing the React App:\">Developing the React App:<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#Through_this_code_we_can_get\" title=\"Through this code, we can get:\">Through this code, we can get:<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#How_to_connect_Reactjs_with_Nodejs\" title=\"How to connect Reactjs with Nodejs?\">How to connect Reactjs with Nodejs?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#Conclusion\" title=\"Conclusion:\">Conclusion:<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#How_to_use_NodeJS_with_a_ReactJS_for_full-stack_development\" title=\"How to use NodeJS with a ReactJS for full-stack development?\">How to use NodeJS with a ReactJS for full-stack development?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Are you planning on developing an app or a website? Then the biggest challenge you will face is a difference in frameworks. It is often an issue of different syntax at the backend and frontend framework.\u00a0 Here, JavaScript can help you with two frameworks for your full-stack development plans. One is Nodejs and the other [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4142,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[40],"tags":[855,2106,2107,2108],"class_list":["post-4141","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to-guides","tag-full-stack-development","tag-nodejs-and-reactjs","tag-nodejs-with-reactjs","tag-react-js-development-company"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to use NodeJS with ReactJS for full-stack development?<\/title>\n<meta name=\"description\" content=\"The powerful Nodejs, as we saw here, can easily merge with ReactJs to create efficient web-apps and mobile applications. Get in touch with us.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use NodeJS with ReactJS for full-stack development?\" \/>\n<meta property=\"og:description\" content=\"The powerful Nodejs, as we saw here, can easily merge with ReactJs to create efficient web-apps and mobile applications. Get in touch with us.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/\" \/>\n<meta property=\"og:site_name\" content=\"concettolabs\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/manish.patel.710\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-22T07:39:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/react-js-withnode-js-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1170\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Manish Patel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/withmanish\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Manish Patel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/\",\"name\":\"How to use NodeJS with ReactJS for full-stack development?\",\"isPartOf\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/react-js-withnode-js-2.png\",\"datePublished\":\"2020-07-22T07:39:35+00:00\",\"dateModified\":\"2020-07-22T07:39:35+00:00\",\"author\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9\"},\"description\":\"The powerful Nodejs, as we saw here, can easily merge with ReactJs to create efficient web-apps and mobile applications. Get in touch with us.\",\"breadcrumb\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#primaryimage\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/react-js-withnode-js-2.png\",\"contentUrl\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/react-js-withnode-js-2.png\",\"width\":1170,\"height\":540,\"caption\":\"NodeJS with ReactJS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to use NodeJS with a ReactJS for full-stack development?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/\",\"name\":\"concettolabs\",\"description\":\"Just another WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9\",\"name\":\"Manish Patel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-96x96.png\",\"contentUrl\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-96x96.png\",\"caption\":\"Manish Patel\"},\"description\":\"Manish Patel is a Co-Founder of Concetto Labs, a leading mobile app development company specialized in android and iOS app development. We provide a one-stop solution for all IT related services.\",\"sameAs\":[\"https:\/\/websitelaravel.concettoprojects.com\/blog\",\"https:\/\/www.facebook.com\/manish.patel.710\",\"https:\/\/in.linkedin.com\/in\/manishpatel2509\",\"https:\/\/x.com\/https:\/\/twitter.com\/withmanish\"],\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/author\/manish-patel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to use NodeJS with ReactJS for full-stack development?","description":"The powerful Nodejs, as we saw here, can easily merge with ReactJs to create efficient web-apps and mobile applications. Get in touch with us.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"How to use NodeJS with ReactJS for full-stack development?","og_description":"The powerful Nodejs, as we saw here, can easily merge with ReactJs to create efficient web-apps and mobile applications. Get in touch with us.","og_url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/","og_site_name":"concettolabs","article_author":"https:\/\/www.facebook.com\/manish.patel.710","article_published_time":"2020-07-22T07:39:35+00:00","og_image":[{"width":1170,"height":540,"url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/react-js-withnode-js-2.png","type":"image\/png"}],"author":"Manish Patel","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/withmanish","twitter_misc":{"Written by":"Manish Patel","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/","name":"How to use NodeJS with ReactJS for full-stack development?","isPartOf":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#primaryimage"},"image":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#primaryimage"},"thumbnailUrl":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/react-js-withnode-js-2.png","datePublished":"2020-07-22T07:39:35+00:00","dateModified":"2020-07-22T07:39:35+00:00","author":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9"},"description":"The powerful Nodejs, as we saw here, can easily merge with ReactJs to create efficient web-apps and mobile applications. Get in touch with us.","breadcrumb":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#primaryimage","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/react-js-withnode-js-2.png","contentUrl":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/07\/react-js-withnode-js-2.png","width":1170,"height":540,"caption":"NodeJS with ReactJS"},{"@type":"BreadcrumbList","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/nodejs-with-reactjs-for-full-stack-development\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/websitelaravel.concettoprojects.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to use NodeJS with a ReactJS for full-stack development?"}]},{"@type":"WebSite","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/","name":"concettolabs","description":"Just another WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/websitelaravel.concettoprojects.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9","name":"Manish Patel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-96x96.png","contentUrl":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-96x96.png","caption":"Manish Patel"},"description":"Manish Patel is a Co-Founder of Concetto Labs, a leading mobile app development company specialized in android and iOS app development. We provide a one-stop solution for all IT related services.","sameAs":["https:\/\/websitelaravel.concettoprojects.com\/blog","https:\/\/www.facebook.com\/manish.patel.710","https:\/\/in.linkedin.com\/in\/manishpatel2509","https:\/\/x.com\/https:\/\/twitter.com\/withmanish"],"url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/author\/manish-patel\/"}]}},"_links":{"self":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts\/4141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/comments?post=4141"}],"version-history":[{"count":0,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts\/4141\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/media\/4142"}],"wp:attachment":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/media?parent=4141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/categories?post=4141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/tags?post=4141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}