Skip to content

DarkLightOfFuture/Store-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Store web app

A modern e-commerce web app built with Node.js, Express, React, and Tailwind CSS. It uses Sequelize for data management and runs in Docker and Kubernetes with Prometheus, Grafana, and Loki for monitoring and logging. (For a sneak peek of the app, scroll to the bottom to see a screenshot)

Getting Started

0. Prerequisites

You need to have Docker, Kubernetes, helm, and Task installed (avoid using the Docker Desktop Kubernetes distribution due to its persistence issues).

1. Self-Signed SSL Certificate

First, run git clone https://github.com/DarkLightOfFuture/Store-web-app.git <your_path_with_directory_for_app>. Next, *run task 1. Then, sign the certificate for your platform: Linux or Windows (instructions below). At the end run task 2

* If you are running this on Windows, make sure to execute the command in a WSL2 environment.

Windows

  1. Open the file client\ssl\certificate.crt.
  2. Double-click the certificate to open the Certificate Import Wizard.
  3. Click Install Certificate….
  4. Select Local Machine and click Next.
  5. Choose Place all certificates in the following store and click Browse….
  6. Select Trusted Root Certification Authorities and click OK.
  7. Click Next, then Finish to complete the import.

2. Another steps

Run task 3, then depending on your Kubernetes distribution:

  • Minikube: run task ingress-minikube
  • Kind: run task ingress-kind

After 1–2 minutes (for the Minikube option, once the port-forward command completes), open https://localhost in your browser.

How to Clean

Simply run task clean.

Configuration Changes

To modify any settings, please edit the values.yaml file.

Preview

For more preview check screenshots directory.

Releases

No releases published

Packages

 
 
 

Contributors