Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alissonwenceslau/workshop-springboot3-jpa
Projeto Web services com Spring Boot no intuito de simular compras online!
https://github.com/alissonwenceslau/workshop-springboot3-jpa
algorithms apirest class diagram exception-handling h2-database injection-dependency jpa-hibernate jpa-persistence-applications jparepository postman responseentity spring spring-boot tomcat webservice
Last synced: about 2 months ago
JSON representation
Projeto Web services com Spring Boot no intuito de simular compras online!
- Host: GitHub
- URL: https://github.com/alissonwenceslau/workshop-springboot3-jpa
- Owner: AlissonWenceslau
- Created: 2022-12-09T18:14:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-25T22:02:15.000Z (about 2 years ago)
- Last Synced: 2023-05-06T15:44:07.689Z (over 1 year ago)
- Topics: algorithms, apirest, class, diagram, exception-handling, h2-database, injection-dependency, jpa-hibernate, jpa-persistence-applications, jparepository, postman, responseentity, spring, spring-boot, tomcat, webservice
- Language: Java
- Homepage:
- Size: 838 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web services API Rest
## Modelo de domínio
![Diagrama de Classes](assets/img/diagram.png)> Trata-se de um projeto Web services com Spring Boot com intuito de simular compras online!
## Diagrama de objetos
![Diagrama de Objetos](assets/img/object_diagram.png)### Pré-requisitos
Antes de começar, verifique se você atendeu aos seguintes requisitos:
* Você precisa compreender a linguagem Java, conceitos de POO (Encapsulamento, herança e polimorfismo)
* Você precisa compreender alguns projetos do ecossistema Spring
* Você precisa compreender o que é API Rest### Tecnologias empregadas
- [x] Spring boot
- [x] Spring web
- [x] Spring JPA/Hibernate
- [x] Object Relational Mapping (ORM)
- [x] API Rest
- [x] Banco de dados H2## Estrutura [Banco de Dados H2](https://en.wikipedia.org/wiki/H2_(DBMS))
Banco de dados totalmente contruído com ORM
![Banco de Dados](assets/img/bd_h2.png)
Banco de dados em memória
### Imagens APIs Rest no [Postman](https://en.wikipedia.org/wiki/Postman_(software))
#### Post
![Post](assets/img/api_post.png)#### Get
![Get](assets/img/api_get.png)#### Put
![Put](assets/img/api_put.png)#### Delete
![Delete](assets/img/api_delete.png)Para instalar o projeto, siga estas etapas:
Linux, macOS e Windows:
``````
#### Próximo passo
* Importe o projeto na IDE _**Spring Tools Suite**_, e execute a classe
``
CourseApplication.java
`` dentro da pasta `src/main/java/com/educandoweb` | [Acessar pasta](src/main/java/com/).