|
| 1 | +# Grading System through Spring Boot |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | +In this Spring Boot project, I used JPA for persistence, MySQL being the |
| 6 | +database. |
| 7 | + |
| 8 | +Take note, when Spring Boot maps the service class into the database, |
| 9 | +the naming convention is critical, for example: |
| 10 | + |
| 11 | +`roboticsGrade` will be mapped in the database column as |
| 12 | +`robotics_grade`. |
| 13 | + |
| 14 | +Now, you might not notice this when you have `clear-drop` setting because |
| 15 | +Spring Boot automatically solves the issue. But when you want the persistent |
| 16 | +database record, you must set it to `none`. |
| 17 | + |
| 18 | +## Q&A |
| 19 | + |
| 20 | +If you have questions, please feel free to ask me: |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | +You can also create a pull request or raise |
| 25 | +an issue to start the discussion or query/ies. |
| 26 | + |
| 27 | +## Compile, Build & Run |
| 28 | +Before you compile and build, make sure you are at the project directory |
| 29 | +`SpringBootProjectDir`. Take note also, I'm using Maven build tool here. |
| 30 | + |
| 31 | +In Windows, |
| 32 | + |
| 33 | +to package your program as an executable jar file: |
| 34 | + |
| 35 | + mvn clean package |
| 36 | + |
| 37 | +to simply clean and compile: |
| 38 | + |
| 39 | + mvn clean compile |
| 40 | + |
| 41 | +to just clean your project: |
| 42 | + |
| 43 | + mvn clean |
| 44 | + |
| 45 | +to run the program: |
| 46 | + |
| 47 | + mvn spring-boot:run |
| 48 | + |
| 49 | +to build and run the program: |
| 50 | + |
| 51 | + mvn clean install |
| 52 | + |
| 53 | + |
| 54 | +## Contributing |
| 55 | + |
| 56 | +1. Fork it! |
| 57 | +2. Then, made changes, and create a pull request. |
| 58 | +I'm much more willing to collaborate with you! |
| 59 | + |
| 60 | +## License |
| 61 | + |
| 62 | +MIT - the permissive license |
0 commit comments