{"id":24937287,"url":"https://github.com/constantin-p/datj-courses-app","last_synced_at":"2026-04-12T12:40:49.081Z","repository":{"id":92417388,"uuid":"112116592","full_name":"constantin-p/datJ-courses-app","owner":"constantin-p","description":"Spring MVC Courses App","archived":false,"fork":false,"pushed_at":"2017-12-03T14:39:04.000Z","size":109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T16:44:23.133Z","etag":null,"topics":["java-8","maven","mysql","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/constantin-p.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":"2017-11-26T21:05:02.000Z","updated_at":"2018-07-24T16:27:30.000Z","dependencies_parsed_at":"2023-04-25T21:32:20.536Z","dependency_job_id":null,"html_url":"https://github.com/constantin-p/datJ-courses-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/constantin-p/datJ-courses-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constantin-p%2FdatJ-courses-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constantin-p%2FdatJ-courses-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constantin-p%2FdatJ-courses-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constantin-p%2FdatJ-courses-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/constantin-p","download_url":"https://codeload.github.com/constantin-p/datJ-courses-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constantin-p%2FdatJ-courses-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265281382,"owners_count":23739875,"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":["java-8","maven","mysql","spring-boot"],"created_at":"2025-02-02T16:59:13.258Z","updated_at":"2026-04-12T12:40:44.059Z","avatar_url":"https://github.com/constantin-p.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Courses App\r\n\r\n### Running locally\r\n\r\n1. Clone the project: `git clone https://github.com/constantin-p/dat16j-courses-app.git`\r\n2. Change the current working directory: `cd dat16j-courses-app`\r\n3. Generate the config file: `cp _templates/application-template.properties src/main/resources/application-production.properties` and replace the placeholders\r\n4. Set script permissions: `chmod +x run.sh` (NOTE: Only required if `run.sh` is not already executable)\r\n5. Run the application : `./run.sh`\r\n\r\n### Running on AWS\r\n\r\nFrom the AWS Management Console:\r\n\r\n1. Open the Elastic Beanstalk console (top nav: Services \u003e search for: Elastic Beanstalk).\r\n\r\n2. Choose Create New Application and use the following options:\r\n  Predefined configuration: Java\r\n  Source: Upload your own (Build the app locally and create a .zip from target/dat16j-courses-app-*.jar)\r\n  \r\n3. For Additional Resources select:\r\n  - [x] Create a RDS DB instance\r\n  - [x] Create this enviroment inside a VPC\r\n\r\n4. For RDS Configuration specify a username and password for database access.\r\n\r\n5. For VPC Configuration:\r\n  Select the default VPC.\r\n  Select at least two Availability Zones for each service.\r\n  \r\n6. For Permissions use the generated profiles.\r\n\r\n#### After the launch process, configure Spring Boot:\r\n\r\nOpen the configuration page, and under Software Configuration, click the settings icon.\r\n  Add the following environment variables:\r\n\r\n| Property name               | Property value | *note        |\r\n| --------------------------- | -------------- | ------------ |\r\n| SERVER_PORT                 | 5000           |              |\r\n| SPRING_DATASOURCE_URL       | jdbc:mysql://`DB_ENDPOINT`/`DB_NAME`  | Endpoint from the `Environment Configuration` page, under the Data Tier section. |\r\n| SPRING_DATASOURCE_USERNAME  | DB_USER        | From step 4. |\r\n| SPRING_DATASOURCE_PASSWORD  | DB_PASS        | From step 4. |\r\n\r\n\r\n\r\n## License\r\n\r\nThis project is MIT licensed.\r\nPlease see the [LICENSE](LICENSE) file for more information.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconstantin-p%2Fdatj-courses-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconstantin-p%2Fdatj-courses-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconstantin-p%2Fdatj-courses-app/lists"}