← Back to list

React

React Installation step

Kuldeeppatel · 2024-01-23 13:49 · 0 claps · 0.8 min read
#react-installation
Open on Medium ↗
Wiki topics: 🌐 · Web Development

React

React Installation step

  1. Go to Nodejs org to download Nodejs
  2. Check Nodejs install or not using npm -v
  3. npm install -g create-react-app
  4. specific folder path
  5. npx create-react-app projectname
  6. cd project name
  7. npm start

React File and Folder structure

Package. JSON :- main file include file name, version, check react version.

Packagar - Lock .JSON :- Store detail of package .JSON file-Difference between package.JSON file and package.lock.json file.

Packager-Lock.JSON file store all history about package.

Package.JSON store our application Detail.

Giti Gnore:- Not Need

SRC:- All react Work in this folder

App.css:- File used to styling your page.

app.js :- All code written in this file.

app.test.js :- All unitest case written this is used for testing team

index .css :- normal css

index.js:- react entry point

report webvital.js:- check your performance report

Set up test .js:- All test case file set up

Public:-Html type detail that are not related to react app

index.html:- here find root id this root id store in our src/index .Js.file

Manifeast File:- meta file robots .text to protect search engine

Node- Module:- All package is store in this file.

  1. How to check package install or not
  2. check pakage.json file and check depencies.
  3. All code wriitten in Src folder important file.

메타데이터
post_id
7ca2d6bb428f
slug
react-7ca2d6bb428f
url
https://medium.com/@5079kuldeeppatel/react-7ca2d6bb428f
canonical_url
https://medium.com/@5079kuldeeppatel/react-7ca2d6bb428f
author_url
https://medium.com/@5079kuldeeppatel
status
ok
fetched_at
2026-08-11 13:27:10