{"id":23519757,"url":"https://github.com/ramonbecker/appsalesmanagement","last_synced_at":"2025-05-14T01:14:18.115Z","repository":{"id":246042557,"uuid":"373924704","full_name":"RamonBecker/AppSalesManagement","owner":"RamonBecker","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-26T13:03:49.000Z","size":173,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-25T16:10:22.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RamonBecker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-04T18:09:30.000Z","updated_at":"2021-12-26T13:03:52.000Z","dependencies_parsed_at":"2024-06-25T14:44:06.409Z","dependency_job_id":"7be290f9-6f5a-434b-911f-380670359657","html_url":"https://github.com/RamonBecker/AppSalesManagement","commit_stats":null,"previous_names":["ramonbecker/appsalesmanagement"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonBecker%2FAppSalesManagement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonBecker%2FAppSalesManagement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonBecker%2FAppSalesManagement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonBecker%2FAppSalesManagement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamonBecker","download_url":"https://codeload.github.com/RamonBecker/AppSalesManagement/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239207413,"owners_count":19599966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-25T16:10:24.649Z","updated_at":"2025-02-16T23:13:37.896Z","avatar_url":"https://github.com/RamonBecker.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sales Management\n \n## :information_source: Information \n\nThe aim of the project is to develop an application for managing sales. During development we used some frameworks that are listed below.\n\n\n## ⚠️ Prerequisite\n[![Java Badge](https://img.shields.io/badge/Java-ED8B00?style=for-the-badge\u0026logo=java\u0026logoColor=white)](https://www.oracle.com/br/java/technologies/javase-downloads.html) \u003e= 11 \n\n![Mysql Badge](https://img.shields.io/badge/MySQL-00000F?style=for-the-badge\u0026logo=mysql\u0026logoColor=white)\n\n![Spring Badge](https://img.shields.io/badge/Spring-6DB33F?style=for-the-badge\u0026logo=spring\u0026logoColor=white)\n\n![Docker Badge](https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge\u0026logo=docker\u0026logoColor=white)\n\n![jaeger-logo](https://user-images.githubusercontent.com/44611131/122459537-6bbcc500-cf87-11eb-9a77-4415df12cb9c.png)\n\n![swagger](https://user-images.githubusercontent.com/44611131/122459677-9444bf00-cf87-11eb-8d12-e62969a3de1a.png)\n\n![aptira-grafana-prometheus-training](https://user-images.githubusercontent.com/44611131/122459691-97d84600-cf87-11eb-9e99-4afc34cf26bf.png)\n\n\n## :rocket: Installation\n\nTo install the project you must install mysql on your machine.\n\n## ⚙️ Installing MySQL\n\nEnter the following commands in the terminal.\n\n```\nsudo apt update\nsudo apt install mysql-server\n\n```\n### Configuring MySQL\n\nFor new installations, you will want to run the security script that is included. This changes some of the less secure default options for things like root logins and example users. Enter the command below.\n\n```\nsudo mysql_secure_installation\n```\nThis will take you through a series of prompts where you can make some changes to the security options of your MySQL installation. The first prompt will ask you if you want to configure the Validate Password Plugin, which can be used to test the strength of your MySQL password. Regardless of your choice, the next prompt will be to set the password for the MySQL root user. Sign in and then confirm a secure password of your choice.\n\nFrom there, you can press Y and then ENTER to accept the default answers for all subsequent questions. This will remove some anonymous users and the test database, disable remote login for root, and load all of these new rules so that MySQL immediately respects the changes you made.\n\n### Testing MySQL\n\nTo see if MYSQL is running, type the following command.\n\n```\nsystemctl status mysql.service\n```\n\nIf MySQL is not running, you can start it with the following command.\n```\nsudo systemctl start mysql\n\nNow try to connect your root user to MySQL.\n```\nmysql -u root -p\n\n\n\n## Project execution\n\nIn order to run the project, you must go into the project folder where the docker-compose file is and run the following command to start the docker.\nIn the file of prometheus.yml you must put your ip of your machine.\n\n```\nWhere is it - targets: ['0.0.0.0:8080'] replace the zeros with your ip address\n```\n\nBefore running docker-compose you must stop the MYSQL service, as the port that was configured in the docker for MYSQL is 3000. If the MYSQL service is not stopped there will be a conflict and the docker will not be executed. Enter the following command:\n\n```\nsudo service mysql stop\nsudo service mysql status\nsudo docker-compose up -d\n\n```\nTo enter data in the application you must access the swagger in your browser. Enter the following address: \n```\nlocalhost:8080/swagger-ui.html or http://127.0.0.1:8080/swagger-ui.html\n```\nIf you want to collect application metrics with prometheus or grafana type the following into your browser:\n\n```\nFor Prometheus type: 127.0.0.1:9090\nFor Grafana: 127.0.0.1:3000\n```\n\n![](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge\u0026logo=linux\u0026logoColor=black)\n\n```\ngit clone https://github.com/RamonBecker/AppSalesManagement.git\n```\n\n![](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge\u0026logo=windows\u0026logoColor=white)\n\n\n```sh\ngit clone https://github.com/RamonBecker/AppSalesManagement.git\nor install github https://desktop.github.com/ \n\n```\n\n## :zap: Technologies\t\n\n- Java\n- Docker\n- Prometheus\n- Grafana\n- Spring boot\n\n## :memo: Developed features\n\n- [x] The user will be able to perform a product CRUD\n- [x] The user will be able to perform a client CRUD\n- [x] The user will be able to perform a category CRUD\n- [x] The user will be able to perform a sales CRUD\n\n\n## :technologist:\t Author\n\nBy Ramon Becker 👋🏽 Get in touch!\n\n\n\n[\u003cimg src='https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/github.svg' alt='github' height='40'\u003e](https://github.com/RamonBecker)  [\u003cimg src='https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/linkedin.svg' alt='linkedin' height='40'\u003e](https://www.linkedin.com/in/https://www.linkedin.com/in/ramon-becker-da-silva-96b81b141//)\n![Gmail Badge](https://img.shields.io/badge/-ramonbecker68@gmail.com-c14438?style=flat-square\u0026logo=Gmail\u0026logoColor=white\u0026link=mailto:ramonbecker68@gmail.com)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonbecker%2Fappsalesmanagement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framonbecker%2Fappsalesmanagement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonbecker%2Fappsalesmanagement/lists"}