├── .gitignore ├── Procfile ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── platzi-market.postman_collection.json ├── settings.gradle ├── src ├── main │ ├── java │ │ └── com │ │ │ └── platzi │ │ │ └── market │ │ │ ├── PlatziMarketApplication.java │ │ │ ├── domain │ │ │ ├── Category.java │ │ │ ├── Product.java │ │ │ ├── Purchase.java │ │ │ ├── PurchaseItem.java │ │ │ ├── dto │ │ │ │ ├── AuthenticationRequest.java │ │ │ │ └── AuthenticationResponse.java │ │ │ ├── repository │ │ │ │ ├── ProductRepository.java │ │ │ │ └── PurchaseRepository.java │ │ │ └── service │ │ │ │ ├── PlatziUserDetailsService.java │ │ │ │ ├── ProductService.java │ │ │ │ └── PurchaseService.java │ │ │ ├── persistence │ │ │ ├── CompraRepository.java │ │ │ ├── ProductoRepository.java │ │ │ ├── crud │ │ │ │ ├── CompraCrudRepository.java │ │ │ │ └── ProductoCrudRepository.java │ │ │ ├── entity │ │ │ │ ├── Categoria.java │ │ │ │ ├── Cliente.java │ │ │ │ ├── Compra.java │ │ │ │ ├── ComprasProducto.java │ │ │ │ ├── ComprasProductoPK.java │ │ │ │ └── Producto.java │ │ │ └── mapper │ │ │ │ ├── CategoryMapper.java │ │ │ │ ├── ProductMapper.java │ │ │ │ ├── PurchaseItemMapper.java │ │ │ │ └── PurchaseMapper.java │ │ │ └── web │ │ │ ├── config │ │ │ └── SwaggerConfig.java │ │ │ ├── controller │ │ │ ├── AuthController.java │ │ │ ├── ProductController.java │ │ │ └── PurchaseController.java │ │ │ └── security │ │ │ ├── JWTUtil.java │ │ │ ├── SecurityConfig.java │ │ │ └── filter │ │ │ └── JwtFilterRequest.java │ └── resources │ │ ├── application-dev.properties │ │ ├── application-pdn.properties │ │ └── application.properties └── test │ └── java │ └── com │ └── platzi │ └── market │ └── PlatziMarketApplicationTests.java └── system.properties /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/.gitignore -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/Procfile -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/gradlew.bat -------------------------------------------------------------------------------- /platzi-market.postman_collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/platzi-market.postman_collection.json -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'platzi-market' 2 | -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/PlatziMarketApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/PlatziMarketApplication.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/domain/Category.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/domain/Category.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/domain/Product.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/domain/Product.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/domain/Purchase.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/domain/Purchase.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/domain/PurchaseItem.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/domain/PurchaseItem.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/domain/dto/AuthenticationRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/domain/dto/AuthenticationRequest.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/domain/dto/AuthenticationResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/domain/dto/AuthenticationResponse.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/domain/repository/ProductRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/domain/repository/ProductRepository.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/domain/repository/PurchaseRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/domain/repository/PurchaseRepository.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/domain/service/PlatziUserDetailsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/domain/service/PlatziUserDetailsService.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/domain/service/ProductService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/domain/service/ProductService.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/domain/service/PurchaseService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/domain/service/PurchaseService.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/CompraRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/CompraRepository.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/ProductoRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/ProductoRepository.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/crud/CompraCrudRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/crud/CompraCrudRepository.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/crud/ProductoCrudRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/crud/ProductoCrudRepository.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/entity/Categoria.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/entity/Categoria.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/entity/Cliente.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/entity/Cliente.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/entity/Compra.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/entity/Compra.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/entity/ComprasProducto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/entity/ComprasProducto.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/entity/ComprasProductoPK.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/entity/ComprasProductoPK.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/entity/Producto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/entity/Producto.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/mapper/CategoryMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/mapper/CategoryMapper.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/mapper/ProductMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/mapper/ProductMapper.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/mapper/PurchaseItemMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/mapper/PurchaseItemMapper.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/persistence/mapper/PurchaseMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/persistence/mapper/PurchaseMapper.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/web/config/SwaggerConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/web/config/SwaggerConfig.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/web/controller/AuthController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/web/controller/AuthController.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/web/controller/ProductController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/web/controller/ProductController.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/web/controller/PurchaseController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/web/controller/PurchaseController.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/web/security/JWTUtil.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/web/security/JWTUtil.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/web/security/SecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/web/security/SecurityConfig.java -------------------------------------------------------------------------------- /src/main/java/com/platzi/market/web/security/filter/JwtFilterRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/java/com/platzi/market/web/security/filter/JwtFilterRequest.java -------------------------------------------------------------------------------- /src/main/resources/application-dev.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/resources/application-dev.properties -------------------------------------------------------------------------------- /src/main/resources/application-pdn.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/resources/application-pdn.properties -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/main/resources/application.properties -------------------------------------------------------------------------------- /src/test/java/com/platzi/market/PlatziMarketApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soyalejoramirez/platzi_market/HEAD/src/test/java/com/platzi/market/PlatziMarketApplicationTests.java -------------------------------------------------------------------------------- /system.properties: -------------------------------------------------------------------------------- 1 | java.runtime.version=11 --------------------------------------------------------------------------------