2019-10-31 21:43:47 -04:00
|
|
|
## Spring Jenkins
|
|
|
|
|
|
|
|
This module contains articles about Spring with Jenkins
|
|
|
|
|
|
|
|
### Relevant articles
|
|
|
|
|
2021-09-24 01:38:57 -04:00
|
|
|
- [Intro to Jenkins 2 and the Power of Pipelines](https://www.baeldung.com/ops/jenkins-pipelines)
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
## Basic CRUD API with Spring Boot
|
|
|
|
|
|
|
|
This is the code of a simple API for some CRUD operations build using Spring Boot.
|
|
|
|
|
|
|
|
### Requirements
|
|
|
|
|
|
|
|
- Maven
|
|
|
|
- JDK 8
|
|
|
|
- MongoDB
|
|
|
|
|
|
|
|
### Running
|
|
|
|
To build and start the server simply type
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ mvn clean install
|
|
|
|
$ mvn spring-boot:run -Dserver.port=8989
|
|
|
|
```
|
|
|
|
|
|
|
|
Now with default configurations it will be available at: [http://localhost:8080](http://localhost:8080)
|