Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luanpotter/spring-todos-rest-api
Simple TODOs REST API using Spring
https://github.com/luanpotter/spring-todos-rest-api
api rest spring spring-boot spring-data todo
Last synced: 2 days ago
JSON representation
Simple TODOs REST API using Spring
- Host: GitHub
- URL: https://github.com/luanpotter/spring-todos-rest-api
- Owner: luanpotter
- License: mit
- Created: 2019-03-07T03:00:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-08T00:38:55.000Z (almost 6 years ago)
- Last Synced: 2024-12-12T20:30:34.346Z (about 2 months ago)
- Topics: api, rest, spring, spring-boot, spring-data, todo
- Language: Java
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# spring-todos-rest-api
[![Build Status](https://travis-ci.org/luanpotter/spring-todos-rest-api.svg?branch=master)](https://travis-ci.org/luanpotter/spring-todos-rest-api)
This is a CRUD REST api for a todo model with two fields: a Long id and a String text (text of the todo).
It uses Spring, including Spring Boot and Spring Data for the JPA implementation. It uses zero xml files for configuration (apart from the pom.xml file, of course, because it's a maven project).
## Setup
Run
```bash
mvn clean install
```To download all dependencies and such, then start the API with
```bash
mvn spring-boot:run
```Alternatively, you can import to Intellij IDEA (via the Import maven project option) and then use the commands from the IDE to run.