Skip to content

SL1015/e-commerce-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

E-commerce-backend

This repository contains an implementation of a microservices e-commerce backend with Spring boot.

Tech stack

Spring boot 3, OAuth2(KeyCloak), Eureka, Spring cloud gateway, Kafka, Redis, MySQL, PostgreSQL, Docker.

Dependencies

Spring Boot 3
Maven
Java 17
Docker

Project Architecture

image

Run the application with Docker

  1. Run mvn clean package -DskipTests to build the applications.
  2. Run docker-compose up -d to start the applications.

Ports

Gateway: 8180
Eureka: 8761
Key Cloak: 8080

Access to the OAuth 2.0 authorization

  1. Add a line 127.0.0.1 keycloak to the hosts file as administrator
    For Windows users, the file is in C:\Windows\System32\drivers\etc;
    For Linux and Mac users, the file is in /etc/.
  2. Login to the Key Cloak server at port 8080 with username admin and password petcove.
  3. Get the client secret in petcove-microservices-real/Clients/petcove-client/Credentials.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages