Spring-Shop
Web-store which allows clients to directly register online, see a profile and all goods info and photo. Also, allow crud operations of users and products by admin side.
Prerequisites
- Java 1.8
- Maven >=3.3.9
- MySQL
- mysql -u root -p$mySQL_password -e "CREATE DATABASE IF NOT EXISTS shop;"
- spring.datasource.password=LACOSTE
- Bower
- sudo apt-get update
- sudo apt install nodejs-legacy
- sudo apt-get install npm
- sudo npm install -g bower
- sudo npm install -g bowerrc
Spring REST, HATEOAS
spring.data.rest.base-path=/api
Deployment
To run locally execute
bower install
mysql -u root -p$mySQL_password -e "CREATE DATABASE IF NOT EXISTS shop;"
mvn package
java -jar target/*.jar
Manual
*Spring-Shop Doocumentation for project and technologyes
Configuration
- Thymelif with Angular
- Add a properties file at src/main/resources/application.properties
- Add the following text at the top:
spring.thymeleaf.mode = LEGACYHTML5
- HTML parser, In the dependencies block of build.gradle, add Neko HTML as a runtime dependency:
nekohtml:1.9.22'
Built With
Back end
- Spring Boot - Spring Data’s mission is to provide a familiar and consistent, Spring-based programming model for data access while still retaining the special traits of the underlying data store.
- Spring Data JPA - Takes an opinionated view of building production-ready Spring applications. Spring Boot favors convention over configuration and is designed to get you up and running as quickly as possible.
- Maven - Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
Authors
-
Khimin Nazar - Initial work - Khimin Nazar