Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yusufsefasezer/jax-rs-example
A simple REST based application developed with JAVA, JAX-RS, Swagger and Angular.
https://github.com/yusufsefasezer/jax-rs-example
angular-example jakarta-restfullapi java-rest java-rest-api java-restful jax-rs openapi3 rest-example
Last synced: 3 months ago
JSON representation
A simple REST based application developed with JAVA, JAX-RS, Swagger and Angular.
- Host: GitHub
- URL: https://github.com/yusufsefasezer/jax-rs-example
- Owner: yusufsefasezer
- License: mit
- Created: 2020-08-02T11:16:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-13T19:28:47.000Z (11 months ago)
- Last Synced: 2024-03-14T17:10:55.392Z (11 months ago)
- Topics: angular-example, jakarta-restfullapi, java-rest, java-rest-api, java-restful, jax-rs, openapi3, rest-example
- Language: TypeScript
- Homepage: https://www.yusufsezer.com
- Size: 188 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java JAX-RS REST
A simple REST based application developed with JAVA, JAX-RS, Swagger(OpenAPI) and Angular.
## [Download](https://github.com/yusufsefasezer/jax-rs-example/archive/master.zip)
## How to run
Maven must be installed to run this application.
If you have maven execute the below command to run.
```
mvn clean package
```Then deploy generated .war file(server/target) to servlet container(tomcat, jetty) or application server(payara, glassfish, tomee)
**NOTE:** Servlet Container must support Servlet 6.0 specs
## Docker
**Docker must be installed.**
Build the Docker image with the tag "java-servlet-contact"
```
docker build -t java-servlet-contact .
``````
docker run -p 80:8080 java-servlet-contact
```You can access the application using `localhost/jax-rs-example` in your web browser.
## Screenshot
- [Default](screenshot/default.png)
- [Create](screenshot/create.png)
- [Show](screenshot/show.png)
- [Edit](screenshot/edit.png)
- [Documentation / Swagger](screenshot/documentation.png)
- [Documentation / Swagger GET](screenshot/documentation-get.png)
- [Documentation / Swagger POST](screenshot/documentation-post.png)# License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for detailsCreated by [Yusuf Sezer](https://www.yusufsezer.com)