Modern+React+With+Redux
General
uDemy Course
Project Root Dir
C:\Users\nick\WslFiles\React
Semantic UI CDN
Semantic UI
Common Commands, APIs, & Procedures
Generate a React project
npx create-react-app <my_app_name>Note: in case of errors:
npm uninstall -g create-react-appnpx create-react-app <my_app_name>npm uninstall -g create-react-appCreate a Server project
Create package.json file
npm initnpm initStart
npm start
Install
React & Redux & Redux-Thunk & Axios:
npm install --save redux react-redux axios redux-thunkReact Router:
npm install --save react-router-domRedux Forms
npm install --save redux-formLodash
npm install --save lodashJSON-SERVER
npm install --save json-serverFaker
npm install --save fakerVercel
npm install -g vercelGoogle API. Make changes to public/index.html:
<script src="https://apis.google.com/js/api.js"></script>npm install --save redux react-redux axios redux-thunknpm install --save react-router-domnpm install --save redux-formnpm install --save lodashnpm install --save json-servernpm install --save fakernpm install -g vercel<script src="https://apis.google.com/js/api.js"></script>Wire up Semantic Stylesheet
public/index.html
<link
  rel="stylesheet"
  href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"
/>In case of CORS error, install the CSS library locally:
npm install semantic-ui-css
import the library into your root index.js component:
import "semantic-ui-css/semantic.min.css";
<link
  rel="stylesheet"
  href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"
/>Resources
Description
URL
Code sandbox
codesandbox.io/s/react-yud4c
Node download
nodejs.org/en/download
Babel
babeljs.io
Codepen
codepen.io
Faker JS (images, companies, addresses,…)
Unsplash API
URL:
unsplash.com/developers
UID, PWD
nick.guner@gmail.com, zaika code
Create Application:
Geolocation API Doc
developer.mozilla.org/en-US/docs/Web/API/Geolocation_API
Playground
stephengrider.github.io/playgrounds/
Google API
Create a new project:
console.developers.google.com
JSON Placeholder API (18&19)
jsonplaceholder.typicode.com
Wiki API
https://en.wikipedia.org/w/api.php?action=query&format=json&origin=*&list=search&srsearch=SEARCHITEM
Google Translate API
cloud.google.com/translate/docs
Netlify
Choose to login with Gitlab Account
Deployed Exercises
videos-hooks:
Google OAuth
Google Scopes
http://developers.google.com/identity/protocols/googlescopes http://developers.google.com/identity/protocols/googlescopes Google API Docs
https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md
https://cloud.google.com/compute/docs/tutorials/javascript-guide
JSON Server
npmjs.com/package/json-server
GIT
Group Repo:
Note:
Use master, not main branch
Sample Command:
cd C:\Users\nick\WslFiles\React\jsx
git init
git remote add origin https://gitlab.com/m7320/jsx.git
git add .
git commit -m "Initial commit"
git push -u origin mastercd C:\Users\nick\WslFiles\React\jsx
git init
git remote add origin https://gitlab.com/m7320/jsx.git
git add .
git commit -m "Initial commit"
git push -u origin masterProjects
Location
Section
Image
C:\Users\nick\WslFiles\React\jsx
1,2

C:\Users\nick\WslFiles\React\components
3

C:\Users\nick\WslFiles\React\seasons
4, 5, 6

C:\Users\nick\WslFiles\React\pics
7, 8, 9, 10

C:\Users\nick\WslFiles\React\videos
11

C:\Users\nick\WslFiles\React\widgets
12, 13




C:\Users\nick\WslFiles\React\videos-hooks
14
Same as section 11
C:\Users\nick\WslFiles\React\songs
16,17

C:\Users\nick\WslFiles\React\blog
18,19

C:\Users\nick\WslFiles\React\streams\api
C:\Users\nick\WslFiles\React\streams\client
20,21,22,23,24,25,26

C:\Users\nick\WslFiles\React\translate
27,28


Last updated
Was this helpful?