Skip to content

SSun97/java_spring_boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

Java Backend API

This project is for building an API server and doing CRUD actions on the MySQL database

Main Dependencies

  • Spring Boot
  • Lombok
  • JPA
  • Maven

Key takeaways from this project

  • Building CRUD functions in the JAVA API and query from the MySql database
  • Use Project Lombok to reduce the code lines
  • Use JPA and treat database tables as objects, making handling one-to-one, one-to-many relationships easier.
  • JPA @Query annotation also allows programmers to use complex query strings
  • Generate log file
  • Use OpenAPI automatically generate API documentation
  • Spring Aspect-oriented Programming, use @Before, @After, @AfterReturning, @Around
  • Spring Boot Scheduler, use Cron expression. e.g. "0 0/1 * 1/1 * ?"
  • Deploy the project on Heroku and switch to cloud base MySql database

Improvements in the future

  • Adding auth functions
  • Organize endpoints structures

Author

Simon Sun: sunmingyu.97@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors