{"id":28202680,"url":"https://github.com/priyankapoojari/springboot-java-restapi-application","last_synced_at":"2026-03-05T04:34:36.009Z","repository":{"id":267983139,"uuid":"403675584","full_name":"PriyankaPoojari/springboot-java-restapi-application","owner":"PriyankaPoojari","description":"Spring Boot Windows application with backend as Apache h2 Database with REST CRUD operations. Mockito: for Unit Testing. Cucumber with Rest Assured for API Testing. Postman json uploaded to check the api's ","archived":false,"fork":false,"pushed_at":"2025-05-09T07:03:49.000Z","size":37987,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T00:15:58.331Z","etag":null,"topics":["apache-h2-database","cucumber","java","mockito","postman","rest-assured","restful-api","spring-boot"],"latest_commit_sha":null,"homepage":"","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/PriyankaPoojari.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,"zenodo":null}},"created_at":"2021-09-06T15:38:04.000Z","updated_at":"2025-05-09T07:03:53.000Z","dependencies_parsed_at":"2024-12-13T17:45:48.419Z","dependency_job_id":"594761a5-4c25-4a89-a88f-1fe878ab6087","html_url":"https://github.com/PriyankaPoojari/springboot-java-restapi-application","commit_stats":null,"previous_names":["priyankapoojari/sample-restapi-application","priyankapoojari/springboot-java-restapi-application"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PriyankaPoojari/springboot-java-restapi-application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriyankaPoojari%2Fspringboot-java-restapi-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriyankaPoojari%2Fspringboot-java-restapi-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriyankaPoojari%2Fspringboot-java-restapi-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriyankaPoojari%2Fspringboot-java-restapi-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PriyankaPoojari","download_url":"https://codeload.github.com/PriyankaPoojari/springboot-java-restapi-application/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriyankaPoojari%2Fspringboot-java-restapi-application/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30110441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["apache-h2-database","cucumber","java","mockito","postman","rest-assured","restful-api","spring-boot"],"created_at":"2025-05-17T00:16:58.177Z","updated_at":"2026-03-05T04:34:36.002Z","avatar_url":"https://github.com/PriyankaPoojari.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails open=\"open\"\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n       \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\nThis is a simple light-weight Student Info application built using Java language.\nAll the CRUD operations are supported.\n\n\n![Student's App Main Screen]\u003cimg src=\"images/StudentsApp.PNG\" alt=\"Logo\" width=\"800\" height=\"300\"\u003e\n\n\n![Student's App Search Screen]\u003cimg src=\"images/Capture.PNG\" alt=\"Logo\" width=\"800\" height=\"300\"\u003e\n\n### Built With\n* [Spring Boot Framework](https://spring.io/projects/spring-framework)\n* [Apache h2 database](https://www.h2database.com/)\n* [REST API](https://www.mulesoft.com/resources/api)\n* [Mockito for Unit Testing](https://site.mockito.org/)\n* [Cucumber BDD for testing](https://cucumber.io/) REST Assured lib\n\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\nDownload the entire repository and import in Eclipse or Spring tool suite(STS).\nWhen importing the project, select Maven \u003e Maven Existing project option.\n\n### Prerequisites\nFollowing addin must be installed in your Eclipse.\n* Maven\n* WindowsBuilder (Swing GUI- to view the design) NOT MANDATORY\n* Apache Tomcat service running to be stopped. Press Windows+R, type \"Services.msc\". Stop Apache Tomcat service if is already running. This is because apache h2 console requires service to be started. However if you dont want to check data in h2 database console then you can make changes in config/application.properties for the console to be disabled.\n  **spring.h2.console.enabled=false**\n\n## Usage\nAfter importing the project, Run as Spring Boot app and select Application.java as main class.\n\n![Run configuration]\u003cimg src=\"images/runAs.png\" width=\"800\" height=\"600\"\u003e\n\nMoreover, if importing and running is not possible then Executable-jar is also uploaded to main folder.\nDownload it and double-click on it. All the api's and the database too will be up and running.\nName: student-app.jar\n\n### To access Database\n Open http://localhost:8080/h2-console/login.jsp in browser.\n [user: sa, password: password]\n JDBC URL: jdbc:h2---Path to sampledata--basedir/data/sampledata.mv.db\n The path is also updated in the Eclipse console logs.\n ![h2 console browser]\u003cimg src=\"images/h2login.png\" width=\"500\" height=\"500\"\u003e\n ![Eclipse Console]\u003cimg src=\"images/h2loginConsoleEclipse.png\" width=\"800\" height=\"500\"\u003e\n \n Also note that when application is brought up, the database table schema and sample data provided under (src/main/resources) folder are executed.\n \n### Postman \nPostman can be used to test the API's manually. \nThe workspace is exported and uploaded to base directory of this repository (postman\\StudentApp.postman_collection.json)\nYou can import this in Postman and run the tests once application is started. \n\n### Cucumber BDD for Testing\nI have used BDD framework to run the tests to check API's functionality (src/test/java)\nRest-Assured library is used to interact with apis's and check their response code and body.\n![Cucumber folder structure]\n\u003cimg src=\"images/cucumber1.png\" width=\"300\" height=\"300\"\u003e\n\n\nThere are 2 feature files. One with the happy flow and the other one with invalid data to check the API response.\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriyankapoojari%2Fspringboot-java-restapi-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpriyankapoojari%2Fspringboot-java-restapi-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriyankapoojari%2Fspringboot-java-restapi-application/lists"}