{"id":16923348,"url":"https://github.com/jesty/orientdb-microservices","last_synced_at":"2026-05-19T15:33:00.935Z","repository":{"id":81162030,"uuid":"73020698","full_name":"jesty/orientdb-microservices","owner":"jesty","description":"A maven archetype to create a microservice component / production-ready RESTful web services in Java  using OrientDB, Resteasy, Undertow and Swagger","archived":false,"fork":false,"pushed_at":"2016-11-17T17:39:53.000Z","size":43,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T21:11:33.487Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jesty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-11-06T21:38:16.000Z","updated_at":"2016-11-07T11:58:09.000Z","dependencies_parsed_at":"2023-06-30T08:16:17.409Z","dependency_job_id":null,"html_url":"https://github.com/jesty/orientdb-microservices","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesty%2Forientdb-microservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesty%2Forientdb-microservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesty%2Forientdb-microservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesty%2Forientdb-microservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jesty","download_url":"https://codeload.github.com/jesty/orientdb-microservices/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244716327,"owners_count":20498210,"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-10-13T19:58:49.411Z","updated_at":"2026-05-19T15:32:50.921Z","avatar_url":"https://github.com/jesty.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# orientdb-microservices\n\n\u003e\u003e\u003e THIS PROJECT IS AN HUGE WORK IN PROGRESS AND IT IS NO PRODUCTION READY. IF YOU WANT USE IN PRODUCTION, PLEASE CONTACT ME. FEEL FREE TO USE THE SINGOLAR COMPONENTS ASE YOU NEED\n\nThis Maven archetype aims to create in a short time a project where you can develop production-ready RESTful web services in Java. The generated project solves the little annoying issues to configure always the same things like a database connection, a webserver, a server api and so on. \n\nI choose to use OrientDB as database because is an interesting multi-model database written in Java with a lot of interesting features like graph database, document database, geo-spatial support, live query and a native java api. The database starts as embedded in the application so, you must deploy only one component.\n\nIn this project I already configured:\n* OrientDB: as embedded database, but you can also connect to a remote instance. More information on https://github.com/jesty/orientdb-javaee\n* Reasteasy: as JAX-RS implementation\n* Undertow: as webserver\n* Swagger: as API documentation generator\n\n\n##Configuration\nBefore all you must download https://github.com/jesty/orientdb-javaee and install in your local Maven Repository:\n\n```\ngit clone git@github.com:jesty/orientdb-javaee.git\ncd orientdb-javaee\nmvn install\ncd ..\n```\nAfter that you must download this project and install in your local repository\n\n```\ngit clone git@github.com:jesty/orientdb-microservices.git\ncd orientdb-microservices\nmvn install\ncd ..\n```\n\nNow you are ready to use the archetype and generate your project:\n\n```\nmvn archetype:generate -DarchetypeGroupId=com.nutcore -DarchetypeArtifactId=orientdb-microservices-archetype -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=com.company -DartifactId=project -Dversion=1.0-SNAPSHOT -Dpackage=com.company.project -DinteractiveMode=false -DarchetypeCatalog=local\n```\n\nWait for a little and when the archetype generation ends, starts your generated project:\n\n```\ncd project\nmvn package exec:java\n```\n\nWhen the webserver starts visit \u003chttp://localhost:8080/api/hello/davide\u003e to create a simpe entry on database and \u003chttp://localhost:8080/api/hello\u003e to view created entities. The application documentation is on \u003chttp://localhost:8080/api/swagger.json\u003e\n\nNow you are ready to snoop around the code and build your real project!\n\n# Future developments\n\nI like to be complaiant to Principles of microservices (\u003chttp://samnewman.io/talks/principles-of-microservices/\u003e) to do that I'm working on this tasks. The tasks with check are work in progress or in test.\n\n- [ ] Deployment how-to\n- [x] Metrics (\u003chttp://metrics.dropwizard.io\u003e) integration \n- [x] Correlation ID\n- [x] Exception tracking and management\n- [ ] Conqueur the world\n- [ ] Openshift integration\n- [ ] Zero configuration clustering\n- [ ] Migrate all utility classes from the archetype to an indipendent project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesty%2Forientdb-microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesty%2Forientdb-microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesty%2Forientdb-microservices/lists"}