Simple web application simulating auction. Using Spring Boot, Spring Data, Angular
The system is built following the web browser/REST server architecture. The architecture is presented in the following figure:
A MySQL database was used as a persistence storage. The back-end is developed in Java. The Hibernate ORM framework was employed for the Data Access Layer and Spring MVC for the REST API. The REST API is secured with token-based authentication, implemented using Spring security. The front-end was written in Angular.
- Create a user in MySQL with full privileges
- Edit the file /back-end/auction/src/main/resources/application.properties to add your user's username and password.
- Import initial-data.sql MySQL dump file that is located in the folder /back-end/auction/. In this way, a database with name "auction" will be created, containing some sample auction data.
- Build the project in /back-end/auction by running the command "mvn build".
- In command line go to folder /front-end/online-auction.
- Run npm install.
- Run ng build.
- Open path http://localhost:4200/.
- Spring Boot
- Spring Data
- Spring Security
- HTML (bootstrap)
- SCSS
- JS (Angular)