Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suelengalhardo/to-dolist_java
API for Task control
https://github.com/suelengalhardo/to-dolist_java
api-rest java maven restclient spring-boot
Last synced: 8 days ago
JSON representation
API for Task control
- Host: GitHub
- URL: https://github.com/suelengalhardo/to-dolist_java
- Owner: SuelenGalhardo
- Created: 2024-08-13T13:54:41.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-19T18:23:11.000Z (3 months ago)
- Last Synced: 2024-08-20T15:22:29.600Z (3 months ago)
- Topics: api-rest, java, maven, restclient, spring-boot
- Language: Java
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# To-DoList_Java
API for Task controlDocumentation 🛠️:
https://efficient-sloth-d85.notion.site/Curso-de-Java-2408d11bfc3447e980fe9460b6293976
- Java-https://efficient-sloth-d85.notion.site/Java-17-cb8f150e72a249fd9ec30b8da30f27af
- Maven: https://efficient-sloth-d85.notion.site/Maven-d11762457beb4cf7a0ecc83e22f99991
Maven Repository: https://mvnrepository.com/-
- Rest Client: https://efficient-sloth-d85.notion.site/Rest-Client-da993bf3e73c4a77b1357b45cdf17bda🛠️
- SpringBoot:
- https://start.spring.io/
- Spring Boot DevTools dependency
- Spring Web Application
Extensions for VS code:-**vscjava.vscode-java-pack**
- vscjava.vscode-java-debug
- vscjava.vscode-java-test
- vscjava.vscode-java-dependency
- vscjava.vscode-maven
- redhat.java
- **vscjava.vscode-spring-initializr**
- **vmware.vscode-spring-boot**
- **vscjava.vscode-spring-boot-dashboard**
Librerias:
- Lombok Annotations Support for VS Code: https://projectlombok.org/
Lombok es una biblioteca de cĂłdigo abierto para Java que elimina la necesidad de escribir cĂłdigo repetitivo y tedioso
-Spring Data JPA - https://spring.io/projects/spring-data-jpa, no permite hacer la comunicacion con el banco de datos y maniplar los datos- ORM-Mapeamento de objetos relacionalbase de datos:
- H2 DATABASE engine //https://www.h2database.com/html/main.html
http://localhost:8080/h2-consolePort:
netstat -ano | findstr :8080
detener proceso: taskkill /PID /F
sudo kill -9
Stop-Process -Id 11028 -ForceCommands mvn :
mvn clean install
mvn -v
mvn --version
mvn validate
mvn compile
mvn spring-boot:run
mvn clean
mvn clean package
mvn clean install
mvn archetype:generate
mvn archetype:generate
mvn clean install -P
mvn plugin:goal
mvn test
mvn install
mvn help
mvn exec:java -Dexec.mainClass="com.example.Main"
mvn site
mvn deploy
RODAR APLICAÇAO: deploy build
mvn spring-boot:runStatus codes HTTP status code:
//https://http.cat/
https://http.cat/[status_code]A Java standalone implementation of the bcrypt password hash function:
https://github.com/patrickfav/bcrypt
https://favr.dev/opensource/bcrypt/DevTools-spring-boot:
https://docs.spring.io/spring-boot/docs/1.5.16.RELEASE/reference/html/using-boot-devtools.html
-Live Reloaddeploy en Render:
notas:/*
* Metodos de HTTP para el servidor
* +GET - Buscar una informaciĂłn dentro de la base de datos/aplicacion
* +post - adicionar un datos/aplicacion
* +PUT- alterar una informaciĂłn o la base de datos/aplicacion/objeto , mas de
* una informacion
* +DELETE - remove un datos/aplicacion
* +PATCH - alterar solamente una parte informaciĂłn dato/aplicacion , somente
* una parte informaciĂłn
*/// Metodo (funcionalidad) de una clase
modificadores de acceso en java:
public
private
protected
defaulttipos de datos:
String(text )
Interger(int) numeros interos
double (double) numeros 0.000
Float(float) numeros 0.000
date (Date)
void (void) no hay returntinformaciones del usuario se encuenta dentro del Body @RequestBody
getters
private: setters - atibuir metodo privado de una clasesetUsername para adicionar valor
getUsername para buscar valorORM (Object-Relational Mapping) users table
{
"description":"Tarefa para gravar aula de Tasks do Curso de Spring Boot",
"title":"Gravaçao de aula",
"priority":"ALTA",
"startAt":"2024-10-20T12:30:00",
"endAt":"2024-10-17T12:30:00",
"idUser":"62e9b6b6-b95f-46fa-b1c8-f0817b065be8"
}