make a client, server folderafter make a index.js file , try to node index.jspress ^c before npm install nodemon and maintain position in server fold
make a routes folder in server folderand add a Post.js fileedit code in ./route/Postsin ./route/Posts add this code edit code in index.js for parse
cd clientin client folder, npx create-react-app .when the download is finished , npm startdelete App.test.js, index.css, logo.svg, setupTests.jsin App
cd Client foldernpm install react-router-domand add pages folder in src foldermake Home.js after install that extension , try to rfce in Home.js then
add Post.js in pages folder (Client)rfceadd some codesimport { useParams } from 'react-router-dom';import { useHistory } from 'react-router-dom';let h
make Comments.js file in models folder (Commnets Table in TutorialDB)copy Posts.js's code and pste all of this in Commnets.jsThe only thing that right
edit code in .rightSideformik was something very important we had validation all the kind of stuff why aren't we using it for this well the reason is
check in DBcopy codes from the other one and paste heremake post requestadd Router in index.js (server)and import in ./routes/User.jsconst bcrypt = re
before afterimport jsonwebtokenconst { sign } = require('jsonwebtoken');responseapplicationwe can check the tokenif I input none user info, in login f
delete every rows in comment table from TutorialDB and add a username (.model/Comments) ![](https://images.velog.io/images/hunsm4n/post/59d9c645-9d73