{"id":16432432,"url":"https://github.com/sanjoy-sust/freightmanagement","last_synced_at":"2025-07-14T12:35:11.890Z","repository":{"id":78027468,"uuid":"106455936","full_name":"sanjoy-sust/FreightManagement","owner":"sanjoy-sust","description":"Standard Spring boot app to find paths between two locations","archived":false,"fork":false,"pushed_at":"2019-03-17T19:06:39.000Z","size":761,"stargazers_count":12,"open_issues_count":7,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T14:02:15.987Z","etag":null,"topics":["api-documentation","distance-calculation","flywaydb","google-maps-api","hibernate-orm","java","junit","junit-test","latitude-and-longitude","latitude-data","multi-tenant","pathfinding","rest-api","spring","spring-boot","spring-data","spring-data-jpa","springframework","test-cases","test-driven-development"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanjoy-sust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2017-10-10T18:30:38.000Z","updated_at":"2022-03-09T00:22:21.000Z","dependencies_parsed_at":"2023-02-24T04:30:55.441Z","dependency_job_id":null,"html_url":"https://github.com/sanjoy-sust/FreightManagement","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sanjoy-sust/FreightManagement","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjoy-sust%2FFreightManagement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjoy-sust%2FFreightManagement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjoy-sust%2FFreightManagement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjoy-sust%2FFreightManagement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanjoy-sust","download_url":"https://codeload.github.com/sanjoy-sust/FreightManagement/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjoy-sust%2FFreightManagement/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265292547,"owners_count":23742091,"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":["api-documentation","distance-calculation","flywaydb","google-maps-api","hibernate-orm","java","junit","junit-test","latitude-and-longitude","latitude-data","multi-tenant","pathfinding","rest-api","spring","spring-boot","spring-data","spring-data-jpa","springframework","test-cases","test-driven-development"],"created_at":"2024-10-11T08:43:26.030Z","updated_at":"2025-07-14T12:35:11.611Z","avatar_url":"https://github.com/sanjoy-sust.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ## Standard Enterprise Application Structure using Spring boot\nSimple Spring boot project.\n\nThis is a project to find all paths and cost between two locations.\n\n**Used Technology :**\n\n* Spring Boot-1.5.7   \n* Spring data jpa  \n* Google map api  \n* Mysql database  \n* Tomcat Web Server  \n\n**To run this project you have to follow below steps:**\n\n1. Setup your favourite java IDE which can run Spring based projects.  \n2. Setup mysql server. Skip if you have already.  \n3. Setup gradle. Skip if you have already.  \n4. Download or clone this project.  \n\n5. Configure Database :  \n    a) Connect to your mysql server with your credential. Mine is username: root,Password : admin   \n    b) Run DDL from \"**FreightManagement/server-config/database/freight_management_ddl.sql**\"  \n    c) Run DML from \"**FreightManagement/server-config/database/freight_management_dml.sql**\"  \n    d) Thats fine for database setup  \n    \n6. Configure project : \n    a) Change database properties in \"**FreightManagement/src/main/resources/application.properties**\". \n    change following data.    \n    `spring.datasource.url=jdbc:mysql://localhost:3306/freight_management  `   \n    `spring.datasource.username=root`    \n    `spring.datasource.password=admin`    \n    b) Change on logback file \"FreightManagement/src/main/resources/application.properties\"\n     Change  `\u003cproperty name=\"DEV_HOME\" value=\"c:/logs\" /\u003e` value to your favourate location. Unix user must need to change log location.  \n    c) Project setup almost done.  \n     \n 7. Open command promt. Goto project directory.  \n 8. Run following command \"**gradle clean build**\" . Some test code added. You can browse test result from **{ProjectDir}/FreightManagement/build/reports/tests/test/classes/com.fm.assignment.repository.PathRepositoryTest.html**  \n 9. If clean build success then run \"**gradle bootrun**\".   \n 10. I think thats all to setup project.  \n    \n\nFor more details Please check following URLs:\n\n1. https://github.com/sanjoy-sust/FreightManagement/wiki/1.-Installation-guide  \n2. https://github.com/sanjoy-sust/FreightManagement/wiki/2.-Description-and-Improvement-Item  \n3. https://github.com/sanjoy-sust/FreightManagement/wiki/3.-API-Document  \n4. https://github.com/sanjoy-sust/FreightManagement/wiki/4.-Test-Cases  \n5. https://github.com/sanjoy-sust/FreightManagement/wiki/5.-Samples-with-test-Cases  \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjoy-sust%2Ffreightmanagement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanjoy-sust%2Ffreightmanagement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjoy-sust%2Ffreightmanagement/lists"}