{"id":23525527,"url":"https://github.com/cesarsicas/spring-blog","last_synced_at":"2026-04-13T20:31:38.104Z","repository":{"id":241464483,"uuid":"189464738","full_name":"cesarsicas/spring-blog","owner":"cesarsicas","description":"REST API made with Spring Boot and Java.","archived":false,"fork":false,"pushed_at":"2019-06-25T17:29:26.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T08:12:29.486Z","etag":null,"topics":["api-server","java","rest","security","spring","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/cesarsicas.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":"2019-05-30T18:40:24.000Z","updated_at":"2020-01-09T19:45:00.000Z","dependencies_parsed_at":"2024-05-28T13:59:49.782Z","dependency_job_id":"48eb57d3-bfa7-447d-b700-ec336832f20d","html_url":"https://github.com/cesarsicas/spring-blog","commit_stats":null,"previous_names":["cesarsicas/spring-blog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cesarsicas/spring-blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarsicas%2Fspring-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarsicas%2Fspring-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarsicas%2Fspring-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarsicas%2Fspring-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cesarsicas","download_url":"https://codeload.github.com/cesarsicas/spring-blog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarsicas%2Fspring-blog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31770718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: 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":["api-server","java","rest","security","spring","spring-boot"],"created_at":"2024-12-25T19:11:17.669Z","updated_at":"2026-04-13T20:31:38.066Z","avatar_url":"https://github.com/cesarsicas.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Blog Backend\n\nSimple Blog API, made with Spring Boot and Java. Includes Site and admin area with login. \nAlso, check the React client for this api https://github.com/cesarsicas/react-blog\n\n### Technologies used on this project\n  - Spring Boot (Data, Web, Actuator and Security Modules)\n  - MySQL\n  - JWT \n \n### Endpoints\n  - /posts/list [GET]\n  - /posts/{id} [GET]\n  - /posts/comments/list [GET]\n  - /posts/{postId}/comments [POST]  \n\n\n  - /admin/posts [GET] *\n  - /admin/posts/{id} [GET] *\n  - /admin/posts [POST] *\n  - /admin/posts/{id} [DELETE] *\n  \n    Endpoints with * require Bearer Token. \n    The token is generated doing a request to **/login** with following\n\n```     \n     {\n        \"username\" : \"teste@teste.com\",\n         \"password\":\"teste\"\n     }\n```  \n     \n### How To test this project\n  - Clone the repo on your machine. You will need to install Java and Java SDK. \n  - Choose and compatible IDE (Recommended Intellij IDEA Ultimate Edition)\n  - Import the Maven Project and install dependencies\n  - Install MySQL and create a database for the project called \"blogdb\"\n  - Create a config file called \"application.properties\" on /src/resources, with the following content:\n  \n```\n   spring.datasource.url=jdbc:mysql://localhost:3306/blogdb?createDatabaseIfNotExists=true\u0026useSSL=false\u0026serverTimezone=UTC\n   spring.datasource.username=[your database username with root privillegies]\n   spring.datasource.password=[your database password]\n   spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\n   \n   spring.jpa.show-sql=true\n   spring.jpa.open-in-view=true\n   \n   spring.jpa.hibernate.ddl-auto=create-drop\n   spring.datasource.initialization-mode=always\n   spring.datasourse.data=import.sql`\n```  \n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesarsicas%2Fspring-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcesarsicas%2Fspring-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesarsicas%2Fspring-blog/lists"}