Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pepeul1191/spring-boot-aprendiendo
Aprendiendo Spring Boot
https://github.com/pepeul1191/spring-boot-aprendiendo
Last synced: about 1 month ago
JSON representation
Aprendiendo Spring Boot
- Host: GitHub
- URL: https://github.com/pepeul1191/spring-boot-aprendiendo
- Owner: pepeul1191
- Created: 2024-05-05T23:32:48.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-05-05T23:33:36.000Z (9 months ago)
- Last Synced: 2024-05-06T00:28:01.399Z (9 months ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Ejectuar el proyecto como hot reload:
Ejecutar en una terminal:
$ ./gradlew bootJar --continuous
Y en otra terminal:
$ ./gradlew bootRun
### Migraciones
# .env
# Configuración de la base de datos MySQL y otros
DATABASE_URL="mysql://root:[email protected]:3306/gym_db"
ENV="local"Migraciones con DBMATE - accesos/sqlite3:
$ npm run dbmate:new <>
$ npm run dbmate:up
$ npm run dbmate:rollback## Diagrama de Clases
```plantuml
@startuml
package Accesos <> {
class User {
- id: INT
- user: STRING {50}
- password: STRING {50}
- activation_key: STRING {25}
- image_url: STRING {40}
- reset_key: STRING {25}
- created_at: DATETIME
- updated_at: DATETIME
- user_state_id: INT {FK}
}class UserState {
- id: INT
- name: STRING {15}
}class Role {
- id: INT
- name: STRING {25}
}class UserRole {
- id: INT
- user_id: INT {FK}
- role_id: INT {FK}
}
}package Admin <> {
class Employee {
- id: INT
- user: STRING {50}
}
}User -- UserState
User --* UserRole
Role --* UserRole
User -- Employee@enduml
---
## Fuentes:
+ https://medium.com/@calism222/how-enable-auto-reload-spring-boot-gradle-kotlin-continuous-build-5edd23558ae3