GitHunt
DI

diazfabio18/Web-library

[Java REST API] :books: A system of books storage with Crud :book:

Web Library

Storage system for books, with querys to database through api REST

Library

Software and Tools๐Ÿ“‹

Minimal requeriments

  • Java 1.8
  • Spring Tools Suite 4
  • MySQL Workbench 8.0

Implement technologies ๐Ÿ› ๏ธ

  • Spring Boot 4 - The framework for auto-configuration to Server and dependencies
  • Maven - Handler of dependencies
  • Hibernate - Framework for map ORM
  • REST - Services to be consumed by Front-End
  • SQL for database

About autor โœ’๏ธ

Current State ๐Ÿ› ๏ธ

  • Get methods working for entity Autor
  • Aggregate of funcionalities for entity Libro
  • Correction on method borrar of cap Model

Example of Entity libro

@Entity
@Table(name = "Libro")
public class Libro {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id_libro")
	private int id_libro;

	@Column(name = "titulo")
	@JsonProperty("libroE")
	private String titulo;


	@ManyToOne
	@JoinColumn(name = "id_autor")
	private Autor autor;

	public int getId_libro() {
		return id_libro;
	}

	public void setId_libro(int id_libro) {
		this.id_libro = id_libro;
	}

	public String getTitulo() {
		return titulo;
	}

	public void setTitulo(String titulo) {
		this.titulo = titulo;
	}
  
	public void setAutor(Autor autor) {
		this.autor = autor;
	}

	public Libro(int id_libro, String titulo, Autor autor) {
		this.id_libro = id_libro;
		this.titulo = titulo;
		this.autor = autor;
	}

	public Libro() {

	}

}

Soon ๐Ÿ“Œ

  • Putting in working data JSON (by method POST)
  • Implement with Front-End Boostratp 4 and Angular 6
  • Expansion to more a tipe of DBMS
  • Start up production
diazfabio18/Web-library | GitHunt