Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/7ossam7atem1/jax-rs-ecommerce
https://github.com/7ossam7atem1/jax-rs-ecommerce
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/7ossam7atem1/jax-rs-ecommerce
- Owner: 7ossam7atem1
- Created: 2024-12-18T15:25:55.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-23T17:51:27.000Z (about 2 months ago)
- Last Synced: 2024-12-23T18:36:36.697Z (about 2 months ago)
- Language: Java
- Size: 155 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Eclipse Starter for Jakarta EE
This is a sample application generated by the Eclipse Foundation starter for Jakarta EE.You can run the application by executing the following command from the directory where this file resides. Please ensure you have installed a [Java SE implementation](https://adoptium.net) appropriate for your Jakarta EE version and runtime choice (this sample assumes Java SE 17). Note, the [Maven Wrapper](https://maven.apache.org/wrapper/) is already included in the project, so a Maven install is not actually needed. You may first need to execute `chmod +x mvnw`.
```
./mvnw clean package wildfly:dev
```Once the runtime starts, you can access the project at [http://localhost:8080/hello](http://localhost:8080/hello).
You can also run the project via Docker. To build the Docker image, execute the following commands from the directory where this file resides. Please ensure you have installed a [Java SE implementation](https://adoptium.net) appropriate for your Jakarta EE version/runtime choice (this sample assumes Java SE 17) and [Docker](https://docs.docker.com/get-docker/). Note, the [Maven Wrapper](https://maven.apache.org/wrapper/) is already included in the project, so a Maven install is not actually needed. You may first need to execute `chmod +x mvnw`.
```
./mvnw clean package
docker build -t hello:v1 .
```You can then run the Docker image by executing:
```
docker run -it --rm -p 8080:8080 hello:v1
```Once the runtime starts, you can access the project at [http://localhost:8080/hello](http://localhost:8080/hello).