Ani-Adhikary / ReactProj

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactProj

Node JS Location

NodeLocn

Go to root folder to find node

cd /

Medium

https://medium.com/macoclock/update-your-node-js-on-your-mac-in-2020-948948c1ffb2

Commands

https://legacy.reactjs.org/docs/create-a-new-react-app.html

node -v

npm -v

npx create-react-app my-app

cd my-app

npm start

React Router Dom

npm install react-router-dom

https://github.com/LinkedInLearning/react-creating-and-hosting-a-full-stack-site-3209140/blob/01_05b/src/App.js

Backend

Create a folder for Backend code

Initialize it using the below command

npm init -y

Install Express

npm install express

Start the Server

node src/server.js

http://localhost:8000/hello

JSON Req

{ "name" : "Anky" }

HomeBrew

https://brew.sh/

MongoDB

https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/

About