This project serves as a practical guide to building a backend business application using Java Spring and Gradle.
Through various hands-on exercises, you'll delve into essential concepts like:
- Domain-driven development: The project adopts a layered structure, fostering code organization and maintainability.
- Spring technology stack: Explore core Spring components like Spring Framework, Spring Boot 3.2.2, and Spring Data JPA for working with PostgreSQL databases.
- Security implementation: Enhance application security with Spring Security 6, protecting routes and implementing JWT authorization.
- API documentation: Utilize Swagger from Spring Fox to generate comprehensive API documentation, promoting clarity and ease of use.
- Data mapping: Streamline object mapping with MapStruct, saving you time and effort.
- JWT (JSON Web Token): Leverage JJWT for secure user authentication and authorization.
- Domain-oriented layered project structure
- Spring Framework, Spring Boot 3.2.2, Spring Data JPA (PostgreSQL)
- Spring Security 6 (route protection & JWT authentication)
- Swagger for API documentation
- MapStruct for data mapping
- JJWT for JWT implementation
- Clone the repository:
git clone https://github.com/giusniyyel/platzi-market-spring.git
. - Ensure you have Java 11+ and Gradle installed.
- Navigate to the project directory and run:
gradlew build
. - Configure database connection details in
application.properties
. - Run the application:
gradlew bootRun
. - Access the API documentation at
http://localhost:8080/swagger-ui/index.html
📘 ¡More Info!
Project developed based on Platzi content taught by: Alejandro Ramírez Join the course
Typed with ❤️ by Daniel Campos 😊 Licensed under the Apache 2.0 License.