Skip to content

🖖 API developed using concepts as containers, github actions, code archictetures, and many others.

License

Notifications You must be signed in to change notification settings

Duduxs/product-ms-quarkus

Repository files navigation

Product MicroService

This application was developed during the UOL Compass' selection process.

This project is based in CRUD(Create, Read, Update and Delete) with Quarkus and Java.

Technologies   |    How To Use   |    How To Contribute   |    License

Collage

🚀 Technologies

This project was developed with the following technologies:

ℹ️ How to use

To clone and run this application, you'll need Git, Docker and DockerCompose installed on your computer. From your command line:

Cloning the project:

# Clone this repository
$ git clone https://github.com/duduxs/product-ms-quarkus

# Go into the repository
$ cd product-ms-quarkus

Run only API local and mongo in docker:

$ ./mvnw compile quarkus:dev 
$ docker-compose -f src/main/docker/docker-compose.yaml up -d product-ms-database 

# if you want to stop the application execute the command below
$ CTRL + C # stop server
$ docker container rm --force product-ms-quarkus-database && docker rmi mongo #stop mongo

Run API and mongo both in docker:

$ bash dockerStart.sh

# if you want to stop the application execute the command below
$ bash dockerStop.sh

Now access on your browser: http://localhost:9999 [Tests -> 8888]

docs -> http://localhost:9999/q/doc Doc

👍 How To Contribute

  • Make a fork;
  • Create a branch with your feature: git checkout -b my-feature;
  • Commit changes: git commit -m 'feat: My new feature';
  • Make a push to your branch: git push origin my-feature.

📝 License

This project is under the MIT license. See the LICENSE for more information.


Made by Eduardo José 😆 Contact me!