{"id":21748388,"url":"https://github.com/thuyencode/springboot-react-mysql-demo","last_synced_at":"2025-12-30T20:54:25.902Z","repository":{"id":247007927,"uuid":"823419047","full_name":"thuyencode/springboot-react-mysql-demo","owner":"thuyencode","description":"React + Spring Boot demo project","archived":false,"fork":false,"pushed_at":"2024-07-06T02:44:57.000Z","size":420,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T22:58:35.800Z","etag":null,"topics":["react","react-router","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/thuyencode.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":"2024-07-03T02:18:26.000Z","updated_at":"2024-07-06T02:45:00.000Z","dependencies_parsed_at":"2024-07-06T05:07:50.897Z","dependency_job_id":null,"html_url":"https://github.com/thuyencode/springboot-react-mysql-demo","commit_stats":null,"previous_names":["thuyencode/springboot-react-mysql-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuyencode%2Fspringboot-react-mysql-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuyencode%2Fspringboot-react-mysql-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuyencode%2Fspringboot-react-mysql-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thuyencode%2Fspringboot-react-mysql-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thuyencode","download_url":"https://codeload.github.com/thuyencode/springboot-react-mysql-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244723876,"owners_count":20499347,"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":["react","react-router","spring-boot"],"created_at":"2024-11-26T08:13:19.316Z","updated_at":"2025-12-30T20:54:25.860Z","avatar_url":"https://github.com/thuyencode.png","language":"TypeScript","readme":"# React + Spring Boot demo project\n\n\u003chttps://github.com/thuyencode/springboot-react-mysql-demo/assets/134030308/03e617b3-10a2-4541-9fea-79f16677933a\u003e\n\nI did this project following [Code With Arjun](https://www.youtube.com/@CodeWithArjun)'s tutorials on Youtube: **[Full Stack Spring Boot and React CRUD 1.5 hours Course | Full Stack Web App | MySQL | Hibernate](https://youtu.be/4LZKnegAm4g)**.\n\nSome improvements:\n\n* Data validation on both the client (using [Valibot](https://valibot.dev)) and server side\n* Validation errors sent from the server side can be shown on form\n* Use [Tailwind CSS](https://tailwindcss.com) and [DaisyUI](https://daisyui.com) instead of Bootstrap 🗿\n* The code looks cleaner to me (very objective, I know)\n\n## Tech stack\n\n| Backend | Frontend |\n| :-: | :-:  |\n| [![Backend](https://skillicons.dev/icons?i=java,spring,hibernate,mysql)](https://skillicons.dev) | [![Backend](https://skillicons.dev/icons?i=ts,vite,react,tailwind)](https://skillicons.dev) |\n\n## How to run\n\n### Frontend\n\n```bash\ncd frontend\nbun i\nbun dev\n```\n\n### Backend\n\nIf you have installed [Spring Boot Extension Pack](https://marketplace.visualstudio.com/items?itemName=vmware.vscode-boot-dev-pack) you can run the Spring Boot easily in VSCode, if not then make sure you have Maven installed:\n\n```bash\ncd backend\nmvn spring-boot:run\n```\n\nYou may need to change the URL in the `@CrossOrigin` annotation in the [`UserController.java`](./backend/src/main/java/com/github/thuyencode/springboot_react_mysql_demo/backend/controllers/UserController.java) file according to your Vite dev server.\n\nAnd don't use root account to access the database, I did it because I encountered some bugs from MySQL Docker. Change how the backend connect to the database in [application.properties](./backend/src/main/resources/application.properties).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthuyencode%2Fspringboot-react-mysql-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthuyencode%2Fspringboot-react-mysql-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthuyencode%2Fspringboot-react-mysql-demo/lists"}