Skip to content

fuyuko/projectmanagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Spring Boot and React Using GitHub Copilot

Lesson 1 CRUD Operations for User Class

Lessons Learned

  • Instead of cloning the tutorial repository, I used Spring Initializer. Needed to edit properties to add database info (which wasn't mentioned in the tuorial) for the application to work properly

Tutorial Resources

Lesson 2 Testing UserController

Tutorial Resources

Lesson 3 Add Custom Respository Method

  • Added UserStory class
  • UserStory class needs a custom GET method, getUserStoriesByUserId()
  • Despite the tutorial resources I found (below) instructs me to create a custom interface and implement the interface in the custom class, I was able to implment the GET method simply adding @Query & the method signature in UserStoryRepository interface directly. This code was suggested by Copilot. I wonder why this works.

Tutorial Resources

Lesson 4 Add Web Form for User

Cheatsheet

With the following, React Frontend is being served with Spring Boot (no need to serve separately)

  • copy frontend to code to target: cd src/main/frontend then mvn clean install
  • run spring-boot = mvn spring-boot:run

Tutorial Resources

API Documentation

Additional Resources and Examples

About

Learning Spring Boot and React using GitHub Copilot

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published