GithubHelp home page GithubHelp logo

antoniosergiojr / ecommerce_digital_innovation_one Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 565 KB

Criando uma solução de e-commerce com microsserviços em Java

Home Page: https://github.com/hatanakadaniel

Shell 0.58% Java 6.75% HTML 4.88% JavaScript 87.78%
java spring-boot postgresql apache-kafka apache-zookeeper apache-avro docker digital-innovation-one

ecommerce_digital_innovation_one's Introduction

E-commerce com microsserviços | Digital Innovation One

Project developed to use microservices in an e-commerce environment.

📌 Index


⚙ Settings

Docker, postgresql, and jdk must be installed. To the postgresql create the user: admin and password: admin, port: 5432 to the localhost (port: 5433 to docker). Then create the database with name checkout and payment.


💻 Technologies

- Java
- Spring Boot
- Spring Cloud Stream (framework for building highly scalable event-driven microservices connected with shared messaging systems)
- Schema Registry (to ensure compatibility between microservice communication)
- PostgreSQL
- Docker
- Apache ZooKeeper (manage all brokers in kafka)
- Apache Kafka (distributed platform of messaging and streaming. Broker: instances of kafka)
- Apache Avro (data serialization)

🚀 How to run

Cloning the repository

  # Cloning repository
  git clone https://github.com/antoniosergiojr/ecommerce_digital_innovation_one.git

Running web project

  # Accessing web project
  cd ecommerce_digital_innovation_one

  # Running web project	
  
  In the terminal access ecommerce-checkout-api/docker and run docker-compose up --build --force-recreate to build and docker-compose down to destroy.
  Run docker ps to check.
  
  run ecommerce-checkout-api and ecommerce-payment-api in your IDE. 
  
  Open ecommerce-checkout-frontend/cart.html in your browser, fill in the fields and click buy.
   
  Notes:
  -> Access http://localhost:8080/v1/checkout/ in the postman ou insomnia to make a request (POST) in JSON format. To this alter in the class CheckoutResource
     @ModelAttribute to @RequestBody.
  -> Schema Registry API: http://localhost:8081/subjects/streaming.ecommerce.checkout.created-value/versions/latest
  
  

ecommerce_digital_innovation_one's People

Contributors

antoniosergiojr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.