Skip to content

Instantly share code, notes, and snippets.

View RaminMammadzada's full-sized avatar
🔬
Engineering is a wonderful thing if one does not have to earn one's living at it

Ramin RaminMammadzada

🔬
Engineering is a wonderful thing if one does not have to earn one's living at it
View GitHub Profile
@RaminMammadzada
RaminMammadzada / sample_project_secure_ecommerce_order_processing_system_with_cicd.md
Created May 17, 2023 09:15
Project: Secure E-commerce Order Processing System with CI/CD

Project: Secure E-commerce Order Processing System with CI/CD

Objective: Implement a secure RESTful API for an E-commerce Order Processing System using Java, Spring Boot, Apache Kafka, and GitHub Actions (for CI/CD). The system should allow users to place orders and process them asynchronously through a message queue.

Requirements:

  1. Initialize a new Spring Boot project using Spring Initializr. Choose the following dependencies: Web, JPA, H2, Cache, Spring for Apache Kafka, Spring Security, Spring AOP, and Lombok.

  2. Structure your project with the following packages:

  • model: Contains domain model classes (Product, Order, User)
@RaminMammadzada
RaminMammadzada / sample_project_secure_online_bookstore_with_jenkins_cicd.md
Created May 17, 2023 09:15
Sample Project: Secure Online Bookstore with Jenkins CI/CD

Sure, let's create a take-home assignment that builds on the previous project, incorporating Continuous Integration/Deployment with Jenkins, and providing more detailed instructions.

Project: Secure Online Bookstore with Jenkins CI/CD

Objective: Implement a secure RESTful API for an Online Bookstore using Java, Spring Boot, Apache Kafka. The bookstore should allow users to view, add, update, and delete books, and place orders that are processed asynchronously through a message queue. Use Jenkins for Continuous Integration and Deployment.

Requirements and Instructions:

  1. Initialize a Spring Boot project: Use Spring Initializr to create a new Spring Boot project. For dependencies, select: Web, JPA, H2, Cache, Spring for Apache Kafka, Spring Security, Spring AOP, and Lombok.