-
-
Useful VS Code extensions (Optional)
-
Install React's app creator from npm with this command (-g means global installation to your system)
npm i -g create-react-app #OR yarn global add create-react-app
-
Execute this command on the directory you wish to store your project
npx create-react-app yourappname
-
Cd into your app and npm/yarn start (this command executes start script in package.json file that created by create-react-app command)
cd yourappname npm start OR yarn start
-
Previous command will serve the app to you and your LAN on port 3000 (ex: localhost:3000)
-
Congratulations!! You are ready to start programming your app now.
-
-
- Install reactstrap and bootstrap with npm/yarn
npm i reactstrap npm i bootstrap
- Import to your code
- Components Guide
-
- to be filled later
-
- Install json server and run it with a json file you desire
npm i -g json-server cd #jsondirectory json-server --watch db.json
- Port (3000) may conflict. Restart your react server