Code Monkey home page Code Monkey logo

yas's Introduction

YAS: Yet Another Shop

YAS is a pet project aim to practice building a typical microservice application in Java

storefront-ci storefront-bff-ci backoffice-ci backoffice-bff-ci product-ci media-ci cart-ci customer-ci

Tentative technologies and frameworks

  • Java 17
  • Spring boot 2.7
  • Next.js
  • Keycloak
  • Kafka
  • K8s
  • Github Actions
  • SonarCloud
  • OpenTelemetry
  • Jaeger

Local development architecture

Yas - local development architecture

Getting started with Docker Compose

  1. Get the latest source code
  2. Add the following records to your host file: 127.0.0.1 identity 127.0.0.1 api.yas.local 127.0.0.1 pgadmin.yas.local 127.0.0.1 storefront 127.0.0.1 backoffice 127.0.0.1 jaeger
  3. Open terminal of your choice, go to 'yas' directory and run docker compose up
  4. Open your favorite browser and go to http://pgadmin.yas.local. Account login: [email protected] / admin. Register a server: postgres, port 5432, username admin, password admin
  5. Setup Keycloak
  6. The Postgresql server is also published to the host machine: servername: localhost, port: 5432, username: admin, password: admin

Getting started with Kubernetes in Docker Desktop

  1. Get the latest source code
  2. Have your Docker desktop with Kubernetes enabled
  3. Install NGINX ingress controller kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.1/deploy/static/provider/cloud/deploy.yaml
  4. In C: driver, create 2 folders k8s-yas-data/postgres and k8s-yas-data/pgadmin
  5. Run kubectl apply -f yaslocal.yaml
  6. Add 127.0.0.1 identity, 127.0.0.1 storefront, 127.0.0.1 api.yas.local, 127.0.0.1 backoffice, 127.0.0.1 pgadmin.yas.local and 127.0.0.1 jaeger to your host file
  7. Open your favorite browser and go to http://pgadmin.yas.local. Account login: [email protected] / admin. Register a server: localhost, port default, username admin, password admin. Then create a database name keycloak, media, product, cart
  8. Setup Keycloak
  9. The Postgresql server is also published to the host machine: servername: localhost, port: 30007, username: admin, password: admin

Getting started with Minikube in Ubuntu

Please see it in the wiki

Components roadmap

  • Identity service
  • Media service
  • Product service
  • Pricing service
  • Cart service
  • Order service
  • Review service

Contributing

By contributing, you agree that your contributions will be licensed under MIT License.

Active contributors might be asked to join the core team

yas's People

Contributors

thiennn avatar baophamm avatar dtkhanh avatar ninhbuise avatar vanhau293 avatar chanhnguyen6975 avatar phaciusphat avatar hvantran avatar quocminhh47 avatar tanhaok avatar vonhu2901 avatar zuize47 avatar trantoai avatar duccaominh avatar nhattan-dev 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.