- React JavaScript library for building user interfaces
- Semantic UI React React javascript user interface library
- Run:
npm install
to install the dependencies
- Run:
npm run start
to run the app
- Run:
npm run build
to build the app
- React.js
- React Router
- Netlify
- Uniregistry
-
src
-
index.js
: configures the whole React + Router + Redux -
App.js
: sets the routes forpages
-
styles
: all global styles*.css
-
templates
: wrapspages
components*.js
: usually formatted asLayout*
-
pages
: containslarge
components*.js
-
large
: containsmedium
components*.js
-
medium
: containssmall
components*.js
-
small
: contains primitive DOM components*.js
-
Install yarn
with npm
npm install -g yarn
yarn install
Create .env
file that contains:
REACT_APP_API_URL=http://localhost:3000
REACT_APP_JWT_SECRET=myjwtsecret
This .env
can be changed in production
as well.
npm start
Also run the backend API
npm start
npm build
node
=> react
=> react-scripts
=> react-app-rewired
GitHub => Netlify
npm deploy