https://www.saclug.org/articles/2024/june-2024.html
Title: June General Meeting
Event: 2024-06-18 6:00 pm to 8:00 pm
Speaker: Brian E. Lavender
Location: SEGR
4320 Arden Way
Sacramento, CA 95864
We will be back at Bel Aire in their meeting room. Bring your laptop and
code with us!
## Full Stack Development with React
We will walk through various aspects of the [Full Stack Development with Spring Boot and React](https://www.packtpub.com/product/full-stack-development-with-spring-… using Fedora 40.
[Examples](https://github.com/PacktPublishing/Full-Stack-Development-with-Sp…
## Tools in use
1. [Eclipse](https://www.eclipse.org)
2. [VS Code](https://code.visualstudio.com/)
3. MariaDB `sudo dnf install mariadb-server`
4. [Postman](https://www.postman.com/downloads/)
5. [nvm](https://github.com/nvm-sh/nvm)
6. [Mysql JDBC driver](https://mvnrepository.com/artifact/mysql/mysql-connector-java/5.1.4…
7. Fedora Java Alternatives
Create the database and the user
```
create database cardb character set utf8;
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER,
CREATE TEMPORARY TABLES ON cardb.*
TO 'brian'@'localhost' IDENTIFIED BY 'Rockit2';
```
Spring resource to connect to mysql
```
spring.datasource.url=jdbc:mariadb://localhost:3306/cardb
spring.datasource.username=brian
spring.datasource.password=Rockit2
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.show-sql=true
spring.jackson.serialization.FAIL_ON_EMPTY_BEANS=false
spring.data.rest.basePath=/api
```
Fix eclipse crashing. Add this to `.bashrc`
```
export WEBKIT_DISABLE_COMPOSITING_MODE=1
```
Verify `nvm` configuration for the shell.
```
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
```
Brian
--
Brian Lavender
https://www.brie.com/brian/
"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."
Professor C. A. R. Hoare
The 1980 Turing award lecture