Skip to content

glenndehaan/microservice-store

Repository files navigation

Microservice Store

ACME MicroService Merch Store

Demo Site

https://acme-merch.com/

Install

  • Download the _resources folder from the repo
  • Unpack the folder on your server
  • Run docker-compose up
  • Open up a browser and go to http://127.0.0.1:9090

To setup the CMS:

  • Open up a browser and go to http://127.0.0.1:9090/cms
  • Follow the account creation setup
  • Go to Settings->Integrations->Add custom integration
  • Give the integration a name
  • Copy the Content API key
  • Copy the .env-local to .env
  • Update the GHOST_KEY with your Content API key
  • Restart the content docker container

You are now able to see your newly created pages from ghost in the frontend. You are also now able to update the Footer Links by going to Settings->Navigation->Secondary Navigation

Development Usage

Make sure you have Node.JS 14.x installed then run the following commands in your terminal:

./app-install-dependencies.sh
./app-run.sh

Development Docker Usage

Make sure you have docker and docker-composer installed in your machine then run the following command in your terminal:

docker-compose up

Micro Services

Web

  • Traefik - Port: 80
  • Web - Port: 3000 - Image Size
  • Assets - Port: 3001 - Image Size
  • Pim - Port: 3002 - Image Size
  • CMS - Port: 2368

API

  • Cart - Port: 4000 - Image Size
  • Content - Port: 4001 - Image Size
  • Product - Port: 4002 - Image Size
  • Search - Port: 4003 - Image Size
  • Stock - Port: 4004 - Image Size
  • User - Port: 4005 - Image Size
  • Wishlist - Port: 4006 - Image Size

Backend

  • Storage - Port: 5000 - Image Size

DB

  • Redis - Port: 6379

Resources

https://demo.vercel.store/ https://www.printful.com/nl/generator