{"id":23519778,"url":"https://github.com/ramonbecker/workshop-spring-boot-mongodb","last_synced_at":"2025-05-14T01:14:40.070Z","repository":{"id":246042543,"uuid":"420547337","full_name":"RamonBecker/workshop-spring-boot-mongodb","owner":"RamonBecker","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-26T23:29:24.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T23:13:38.330Z","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-10-23T23:47:27.000Z","updated_at":"2021-10-26T23:29:26.000Z","dependencies_parsed_at":"2024-06-25T14:43:59.183Z","dependency_job_id":"9900599e-5365-441c-abe8-4f945fb7a92c","html_url":"https://github.com/RamonBecker/workshop-spring-boot-mongodb","commit_stats":null,"previous_names":["ramonbecker/workshop-spring-boot-mongodb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonBecker%2Fworkshop-spring-boot-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonBecker%2Fworkshop-spring-boot-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonBecker%2Fworkshop-spring-boot-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonBecker%2Fworkshop-spring-boot-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamonBecker","download_url":"https://codeload.github.com/RamonBecker/workshop-spring-boot-mongodb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254050220,"owners_count":22006252,"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:29.975Z","updated_at":"2025-05-14T01:14:40.025Z","avatar_url":"https://github.com/RamonBecker.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Workshop Spring-boot MongoDB\n \n## :information_source: Information \n\nThe project was developed during the Java programming course by instructor Nélio Alves. A post creation system was implemented. Where the user can create their posts and comment on other users' posts. It was developed only as part of the system's backend and to be able to carry out the tests it will be necessary to install the programs: postman or insomnia. But you can choose which one pleases you the most. In order to view, insert and delete data in the mongoDB database, install or mongoDBCompass for greater convenience. Next, the class diagram that was followed for the development of the system is presented.\nThe MVC standard and the DTO standard were followed to develop this system.\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= 8 \n\n![Spring Badge](https://img.shields.io/badge/Spring-6DB33F?style=for-the-badge\u0026logo=spring\u0026logoColor=white)\n\n![JSON Badge](https://img.shields.io/badge/json-5E5C5C?style=for-the-badge\u0026logo=json\u0026logoColor=white)\n\n![mongodb](https://img.shields.io/badge/MongoDB-4EA94B?style=for-the-badge\u0026logo=mongodb\u0026logoColor=white)\n\n![mongodbcompass](https://img.shields.io/badge/MongoDB-white?style=for-the-badge\u0026logo=mongodb\u0026logoColor=4EA94B)\n\n![JPA-hibernate (1)](https://user-images.githubusercontent.com/44611131/136869865-0e3d7476-5128-4471-8817-8df40315b970.jpg)\n\n![Postman Badge](https://img.shields.io/badge/Postman-FF6C37?style=for-the-badge\u0026logo=Postman\u0026logoColor=white) OR ![Insomnia Badge](https://img.shields.io/badge/Insomnia-5849be?style=for-the-badge\u0026logo=Insomnia\u0026logoColor=white)\n\n## 📌 Class Diagram\n\n![diagrama de classe](https://user-images.githubusercontent.com/44611131/138970582-dc5db291-04c0-476d-9416-ec9bd512768e.PNG)\n\n\n##  🔧 Install \n\n\n![](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge\u0026logo=linux\u0026logoColor=black)\n\n\n```\nhttps://github.com/RamonBecker/workshop-spring-boot-mongodb.git\n```\n\n![](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge\u0026logo=windows\u0026logoColor=white)\n```\ngit clone https://github.com/RamonBecker/workshop-spring-boot-mongodb.git\nor install github https://desktop.github.com/ \n```\n\n## ⚙️ Testing the project\n\n\nTo test the project you will need to clone the repository on your machine. You can choose both tools: postman or insomnia.\n```\nTo download postman go to the following link: https://www.postman.com/downloads/\n```\n```\nTo download insomnia rentre from the following link: https://insomnia.rest/download\n```\nTo test some system functionality in postman or insomnia. Type the following urls in the url as shown below:\n\nTo test a full search:\n```\nhttp://localhost:8080/posts/fullsearch?text=enjoy\u0026minDate=2021-10-24\u0026maxDate=2021-10-25\n```\nTo search a user search by id\n```\nhttp://localhost:8080/users/enter id as per the database\n```\nTo search posts by user id\n```\nhttp://localhost:8080/users/posts/enter id as per the database\n```\n\nTo search for posts with common titles\n```\nhttp://localhost:8080/posts/titlesearch?text=Good%20Morning\n```\naccording to the image below, to perform, for example, the GET operation, to search for all users in the database.\n\n\nThe following HTPP methods were implemented: PUT, DELETE, GET and POST.\n\nThe example was performed using Postman.\n\n![teste](https://user-images.githubusercontent.com/44611131/138975155-d70f3658-75e4-42e7-b014-594ccaa5e818.PNG)\n\n\n\n## Install database MongoDB\n\n\nDownload MongoDB through the website:\n```\nhttps://www.mongodb.com/try/download/community\n```\nDownload MongoDBCompass through the website.\n```\nhttps://www.mongodb.com/try/download/compass\n```\n\nChoose your preferred operating system.\n\n\nIf there are any doubts about installing mongoDB, consult the official documentation through the website:\n```\nhttps://docs.mongodb.com/manual/installation/\n\n\n```\n\n\n\n## :zap: Technologies\t\n\n- Java\n- JPA\n- Spring Boot\n- MongoDB\n- MongoDBCompass\n\n## :memo: Developed features\n\n- [x] CRUD User\n- [x] CRUD Post\n- [x] CRUD Comments on posts\n\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonbecker%2Fworkshop-spring-boot-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framonbecker%2Fworkshop-spring-boot-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonbecker%2Fworkshop-spring-boot-mongodb/lists"}