Skip to content

him2497/ReactBoilerPlate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Boilerplate Setup

Installing

  1. Clone the repo
git clone https://github.com/him2497/ReactBoilerPlate.git
  1. Get rid of git configurations
rm -rf .git && git init
  1. Install the dependencies:
npm install
  1. Change name of the application:
  • Change the name of the application in src/index.html under the title.
  • Change the name of the application in package.json under name.

Commands to run the boilerplate

  1. Start the webpack-dev-server
npm run start
  1. Build the application for production
npm run build

Additional Configurations

  • To change the port of the application go into package.json under scripts and start change the port value to your liking currently it is set to port 5000.