What is NodeJS..?? Node is open source server environment.. it runs various platforms likes windows, unix, mac os etc. node uses js on the server. node can generate dynamic page content. can create, open,read,write,delete, and close files on the server and can modify data in your database. Setup Node js.. first you need to download and install node js https://nodejs.org/ then check your node version using node -v type in cmd then you need to connect to port. for that you need to install express using npm install express --save after that you need to import react react-DOM express libraries then you need to write following code to connect to port. your connection is successful print the message. app.listen(3000, (err) =>{ if(err){ console.error(err); return; } console.log("Listen port 3000"); }); Before this you need to add details about project...
Comments
Post a Comment