Skip to content
/ dummy-project Public template

A useless dummy project to be used as template

License

Notifications You must be signed in to change notification settings

GAulombard/dummy-project

Repository files navigation

Quality Gate Status Coverage Vulnerabilities Bugs Code Smells Security Rating Maintainability Rating

Dummy-project

This is just a useless project to help me learn thing about spring boot, how to docker my app, and how to implement CI/CD with git hub. This project serve me as exemple as well t remember how to do things. Maybe it'll help you as well.

Here's why:

  • This is a SpringBoot app wrote with JAVA
  • This app works with a MySQL data base
  • you can find a docker image of this app in Docker hub hod0r/dummy-api

I'm GAulombard.

Built With

Installation

Using docker. You'll first need to instal docker desktop form docker website

  docker network create spring-net
  docker run -d --net spring-net -p 3307:3306 --name mysqldb -e MYSQL_ROOT_PASSWORD=rootroot -e MYSQL_DATABASE=dummy_db -v "./dummy_db":/var/lib/mysql mysql
  docker run -d --net spring-net -p 9090:8080 --name dummy-api -e MYSQL_HOST=mysqldb -e MYSQL_PASSWORD=rootroot -e MYSQL_USER=root -e MYSQL_PORT=3306 hod0r/dummy-api

after that you can check the documentation at this adress

http://localhost:9090/swagger-ui/index.html

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch from (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request toward develop branch

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

GAulombard - @your_twitter - GAulombard

Acknowledgments

Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!