React Examples

Login Screen Example
https://www.cluemediator.com/login-app-create-login-form-in-reactjs-using-secure-rest-api

React and Spring Full Stack Examples

https://www.springboottutorial.com/spring-boot-react-full-stack-crud-maven-application

https://dzone.com/articles/spring-boot-and-react-happily-ever-after

https://www.devglan.com/react-js/spring-boot-reactjs-crud-example
*** This is best among others.
We can see more examples in this site.

ReactJS Frameworks

https://www.reactboilerplate.com/
https://github.com/react-boilerplate/react-boilerplate
Note: This is outdated. No commits for 15 months.
—–
Ant Design
https://ant.design/
https://github.com/ant-design/ant-design
Created by Chinese conglomerate Alibaba, Ant Design is used by several big names: Alibaba (of course), Tencent, Baidu, and more.
Stay away from it.
Reference: https://alligator.io/react/beautiful-uis-ant-design/

Caution: Stay away from it. Having Chinese comments and we don’t know what it means.
—–
Top 10 React component Libraries

Top 10 React Component Libraries for 2020


—–
https://material-ui.com/
From Google
Pros: Backed by Google, Matured, Lightweight
Cons: Use commercial templates to speed up

https://developer.microsoft.com/en-us/fluentui#/
From Microsoft
Pros:
Cons: Stay away. They will give trouble with Chrome browser

React bootstrap
From Twitter
https://react-bootstrap.github.io/
Pros: Fast development
Cons: Heavy, cleanup required
—–

Commercial
Material Design for Bootstrap
https://mdbootstrap.com/

——

Install nodejs/npm latest

Step 1: Remove existing nodejs/npm
https://stackoverflow.com/questions/32426601/completly-uninstall-nodejs-npm-and-node-in-ubuntu-14-04#
Removing Nodejs and Npm

sudo apt-get remove nodejs npm node
sudo apt-get purge nodejs

Now remove .node and .npm folders from your system

sudo rm -rf /usr/local/bin/npm
sudo rm -rf /usr/local/share/man/man1/node*
sudo rm -rf /usr/local/lib/dtrace/node.d
sudo rm -rf ~/.npm
sudo rm -rf ~/.node-gyp
sudo rm -rf /opt/local/bin/node
sudo rm -rf opt/local/include/node
sudo rm -rf /opt/local/lib/node_modules

sudo rm -rf /usr/local/lib/node*
sudo rm -rf /usr/local/include/node*
sudo rm -rf /usr/local/bin/node*

which node
which nodejs
which npm

Step 2: Choose correct version
https://github.com/nodesource/distributions/blob/master/README.md#debinstall

  1. Using Ubuntu

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash –
sudo apt-get install -y nodejs

Spring – Generate Entity Classes

https://stackoverflow.com/questions/52943174/spring-tool-suit-generate-jpa-entity-from-database-solution

G9 plugin from Marketplace in Spring Tool Suit or Eclipse did job done.

Install Plugin G9
Select Project (JAVA)
Import “Import Database Model”
Select JDBC Driver (In my case mysql)
Maintain JDBC Connection
New
Provide Driver Name, Add Jar, Port, Driver Class and connection url along with schema (jdbc:mysql://localhost:3306/{schema_name})
Close JDBC Connection Box
Port, DB Name, User Name and PWD
Fetch
Reference URL https://www.esito.no/produkter/dbimport/

Spring Boot – Data Rest – Lazy Loading

Hibernate Spring User Guide
https://docs.jboss.org/hibernate/orm/5.3/userguide/html_single/Hibernate_User_Guide.html

The OSIV Anti-Pattern
https://stackoverflow.com/questions/30549489/what-is-this-spring-jpa-open-in-view-true-property-in-spring-boot/
What is this spring.jpa.open-in-view=true property in Spring Boot?

(fetch = FetchType.LAZY) is not enough
Bytecode enhancement

The best way to lazy load entity attributes using JPA and Hibernate

From Spring Data Jpa Documentation “4.3.10. Configuring Fetch- and LoadGraphs” https://docs.spring.io/spring-data/jpa/docs/current/reference/html/

Swagger Vs OpenAPI

https://springdoc.org/

https://swagger.io/

springdoc-openapi is working better now.
There are issues with Swagger and Data Rest.

Open Source E-commerce

Java SpringBoot / React
https://www.shopizer.com/
https://github.com/shopizer-ecommerce/shopizer

How to design a website?

Olden days of HTML are gone.
CSS is ruling the world along with JavaScript.

https://purecss.io/

https://picnicss.com/

https://asyncdesign.github.io/webui/

https://www.slant.co/options/10830/alternatives/~pure-css-from-yahoo-alternatives

covid-19 data and graphs

https://coronavirus.jhu.edu/map.html

https://github.com/CSSEGISandData/COVID-19

https://explore.ovio.org/covid-19/