https://github.com/manoelcampos/vendas-api-spring-test
Uma aplicação de exemplo para criar testes com Spring Test
https://github.com/manoelcampos/vendas-api-spring-test
api example java junit rest sample spring spring-test test
Last synced: 4 months ago
JSON representation
Uma aplicação de exemplo para criar testes com Spring Test
- Host: GitHub
- URL: https://github.com/manoelcampos/vendas-api-spring-test
- Owner: manoelcampos
- Created: 2024-12-02T17:40:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-04T22:02:55.000Z (7 months ago)
- Last Synced: 2025-12-08T06:26:05.541Z (7 months ago)
- Topics: api, example, java, junit, rest, sample, spring, spring-test, test
- Language: Java
- Homepage: https://vendas-api-spring-test.fly.dev
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
:numbered:
= Vendas REST API (Backend)
Backend em Java 21 com SpringBoot 3, fornecendo uma API REST.
== Configurar Ambiente de Desenvolvimento
=== Habilitar Spring DevTools para reiniciar o servidor quando o projeto for alterado
Acesse as configurações do IntelliJ e habilite:
* Build, Execution, Deployment > Compiler > Build project automatically
* Advanced Settings > Allow auto-make to start even if developed application is currently running
=== Configurações do Projeto
O arquivo link:.env.example[.env.example] deve ser duplicado como ".env".
Este arquivo não entra no controle de versão e deve incluir as configurações como desejado para o seu ambiente de desenvolvimento.
== Executando o projeto em ambiente dev
Você pode executar a classe `VendasApiApplication` no seu IDE ou digitar `mvn spring-boot:run` em um terminal. Após iniciar, basta acessar http://localhost:8080