This is a project to write backend for bookstore application using popular Java Spring Framework.
- Java
- Spring Boot(for back-end bootstraping)
- Maven(for easier dependency injection)
- MySql(connection using mysql-connector-8)
- MongoDB(Implementation of NoSQL to store comments)
- Hibernate(for automatic database management, JPA implementation and OR mapping)
- Tomcat 8(act as container for server back-end)
- Ajax(for reactive data transfer between front-end and back-end. Imported as Jquery)
For ease of use, I recommend using Intellj IDEA Ultimate as IDE. All configuration has been set up. Hibernate configuration has been written in application.properties. Please remember to change username, password or server port for your database
Front-end souce code can be found here. Please use npm run-script build
to build the front-end project then copy the resources inside the build directory to resources in this project's directory. Alternatively, you can use third party application to run this back-end eg: Postman
Two ways to open project:
- IDE: Import the project and run in Intellij IDEA
- Command Line:
mvn spring-boot:run
visit: http://localhost:8080/ after the application run(remember to import front-end build files if there are any front-end changes)
Feel free to open an issue to ask for a new feature support.
Feel free to contact me or submit pull request if you encounter any bug
Special thanks for Hao Peng Chen tutor from School Of Software Enginnering, Shnaghai Jiao Tong University for guiding us throughout the entire project.
Meng Yit Koh
Shanghai Jiao Tong University
Software Engineering
kmykoh97@outlook.com