Building server with react with express

Devaraj Chennur
1 min readDec 17, 2020

--

Java script is language used for front end, client side as well as server side. Express is framework based on js. It’s like pod in Kubernetes. If you are from java background you will comfortable with java and spring-boot the achieve the same purpose.

const app = require(‘express’);

The basic statement in this framework, like import in java and universal without acknowledging just write this as first and foremost statement, is very important after this only you can do whatever you want, you can play with js elements like routers, properties, modules, components

Building a server in react js
Very easy step in express is just by writing this statement will create server in background just run that’s it.

const router = require(‘express).Router();
This is another statement which is useful for routing the components in node js, used to move data from one components to another and child to parent and parent to child.

--

--

Devaraj Chennur
Devaraj Chennur

Written by Devaraj Chennur

0 Followers

My name is Devaraj, working with Java framework at CTS ( Developer).

No responses yet