A simple CRUD application created with Spring.
- Clone the project: git clone https://github.com/dfbq91/spring-crud/
- Import to your IDE
- Execute the main method from Application class
- Clone th project: git clone https://github.com/dfbq91/spring-crud/
- cd spring-crud
- mvn spring-boot:run
The built .jar file is auto-runnable, so as you can move it to any computer having java installed and run the app.
- Clone the project: git clone https://github.com/dfbq91/spring-crud/
- cd spring-crud
- java -jar target/spring-0.0.1-SNAPSHOT.jar
- GET http://localhost:8080/api/v1/person/
- POST http://localhost:8080/api/v1/person/ { "name": "Lucho Montes" }
- GET http://localhost:8080/api/v1/person/{_id}
- PUT http://localhost:8080/api/v1/person/{_id} { "name": "Lucho Figueroa" }
- DELETE http://localhost:8080/api/v1/person/{_id}