Skip to content

Romasmi/s-shop-microservices

Repository files navigation

S-SHOP system implementation (microservice architecture)

Quick Start

Quick Start (from scratch)

Ensure minikube is running else run minikube start

To deploy everything in Minikube:

  1. Add hosts
make hosts
  1. Build and Deploy:

    make up

    This command builds Docker images and installs all components (PostgreSQL, Grafana, Traefik, and the S-Shop system) via Helm.

  2. Start API Proxy:

    make run

    Keep this command running in a separate terminal. It enables access via http://arch.homework:8080

  3. Verify:

    make status

Accessing the API

The API is exposed at http://arch.homework:8080 (ensure make up added the entry to your /etc/hosts).

  • Health Check: curl http://arch.homework:8080/health
  • Auth Endpoint: curl http://arch.homework:8080/auth
  • User API: curl http://arch.homework:8080/user

Monitoring

Project Structure

  • services/: Source code for microservices.
  • deployment/helm/: Helm charts and values for infrastructure and application.

Load tests

k6 run load_testing/users.js

Postman tests

newman run docs/postman.json --verbose

About

Pet project for microservice arhitecture tests

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors