{"id":23662820,"url":"https://github.com/cassiomolin/jersey-springboot","last_synced_at":"2026-04-29T12:32:04.433Z","repository":{"id":269002510,"uuid":"93338352","full_name":"cassiomolin/jersey-springboot","owner":"cassiomolin","description":"Example of REST API using Spring Boot, Jersey and Jackson.","archived":false,"fork":false,"pushed_at":"2017-07-20T08:47:37.000Z","size":23,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T05:13:48.739Z","etag":null,"topics":["jackson","java","jersey","postman","rest","rest-api","spring","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cassiomolin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-04T20:04:37.000Z","updated_at":"2021-06-08T04:46:00.000Z","dependencies_parsed_at":"2024-12-20T08:49:16.426Z","dependency_job_id":"16eff814-f59d-479d-8d5d-14cf0d51ba0e","html_url":"https://github.com/cassiomolin/jersey-springboot","commit_stats":null,"previous_names":["cassiomolin/jersey-springboot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiomolin%2Fjersey-springboot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiomolin%2Fjersey-springboot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiomolin%2Fjersey-springboot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiomolin%2Fjersey-springboot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cassiomolin","download_url":"https://codeload.github.com/cassiomolin/jersey-springboot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239661705,"owners_count":19676408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jackson","java","jersey","postman","rest","rest-api","spring","spring-boot"],"created_at":"2024-12-29T05:14:29.052Z","updated_at":"2025-12-05T13:30:28.050Z","avatar_url":"https://github.com/cassiomolin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# REST API using Spring Boot and Jersey\n\n[![Build Status](https://travis-ci.org/cassiomolin/jersey-springboot.svg?branch=master)](https://travis-ci.org/cassiomolin/jersey-springboot)\n[![MIT Licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/cassiomolin/jersey-springboot/master/LICENSE.txt)\n\nThis example application demonstrates how to create a REST API using:\n\n - **Spring Boot:** Framework for creating standalone Java applications.\n - **Jersey:** JAX-RS reference implementation for creating RESTful web services in Java.\n - **Jackson:** JSON parser for Java.\n\n## Building and running this application\n\nTo build and run this application, follow these steps:\n\n1. Open a command line window or terminal.\n1. Navigate to the root directory of the project, where the `pom.xml` resides.\n1. Compile the project: `mvn clean compile`.\n1. Package the application: `mvn package`.\n1. Change into the `target` directory: `cd target`\n1. You should see a file with the following or a similar name: `jersey-springboot-1.0.jar`.\n1. Execute the JAR: `java -jar jersey-springboot-1.0.jar`.\n1. The application should be available at `http://localhost:8080/api`.\n\n## REST API overview\n\nSee the [curl][] scripts below with the REST API supported operations:\n\n### Get a greeting\n\n```bash\ncurl -X GET \\\n  'http://localhost:8080/api/greetings' \\\n  -H 'Accept: text/plain'\n```\n\n### Get the current date\n\n```bash\ncurl -X GET \\\n  'http://localhost:8080/api/current-date' \\\n  -H 'Accept: application/json'\n```\n\n## Targeting the REST API with Postman\n\nAlternatively to [curl][], you can use [Postman][] to target the REST API. The Postman collection files are available in the [`src/main/postman`](src/main/postman) directory.\n\n\n[Postman]: https://www.getpostman.com/\n[curl]: https://curl.haxx.se/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcassiomolin%2Fjersey-springboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcassiomolin%2Fjersey-springboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcassiomolin%2Fjersey-springboot/lists"}