Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 details

Created by [Yusuf Sezer](https://www.yusufsezer.com)