Skip to content

certidevs/curso-2025-04-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

CURSO JAVA

https://app.certidevs.com/tecnologias/89aebf6d-32f9-306d-678b-0f2e895b3ad1

Entorno de de desarrollo: IntelliJ IDEA

https://www.jetbrains.com/idea/download/?section=windows

  • Tipos de datos
  • Operadores

RETOS

Spring Boot estructura:

  • entidades
    • Book
    • Author
    • Category
    • Library
    • User
  • controladores
    • BookController
    • AuthorController
    • CategoryController
    • LibraryController
    • UserController
  • repositorios
    • BookRepository
    • AuthorRepository
    • ....

Git y GitHub

  1. Tener cuenta creada en GitHub: github.com
  2. Instalar Git: comprobar en la terminal ejecutando git --version

Para trabajar con Git hay varias opciones:

  • Opción 1: usar la terminal
  • Opción 2: usar el propio intellij idea
  • Opción 3: usar GitHub Desktop

Intellij IDEA Crear proyecto desde cero con git:

  1. Crear nuevo proyecto Java desde IntelliJ IDEA
  2. Inicializar Git: VCS y Share project on GitHub
  3. Agregar archivos nuevos
  4. Agregar al área de ensayo y hacer commit
  5. Push para subir a GitHub

Clonar

  • File
  • New
  • Project From Version Control

Configurar usuario y email de Git

https://git-scm.com/book/es/v2/Inicio---Sobre-el-Control-de-Versiones-Configurando-Git-por-primera-vez

git --version

git config --list

git config --global user.name "alansastre"

git config --global user.email [email protected]

git config --global init.defaultBranch main