Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A fullstack eCommerce website built with MySQL + Express + React, managed with Docker and Kubernetes, and deployed to AWS.

Notifications You must be signed in to change notification settings

jeanmarie110/ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecommerce

A fullstack eCommerce website built with MySQL/PostgresQL, Express, React, and Redux. Services are containerized with Docker, managed by Kubernetes, and deployed to AWS with Github Actions CD pipeline. It also Integrated Stripe payment gateway.

Entity Relationship Diagram (ERD)

erd

Prerequisites

  • Docker
  • Kubernetes (Minikube)
  • Skaffold
  • Stripe account

Run Locally

  1. Start minikube
$ minikube start
  1. Inject environment variables into Kubernetes
$ kubectl create secret generic jwt-secret-key --from-literal JWT_SECRET_KEY=YOUR_JWT_SECRET
$ kubectl create secret generic stripe-secret-key --from-literal STRIPE_SECRET_KEY=YOUR_STRIPE_SECRET_KEY
$ kubectl create secret generic mysql-password --from-literal MYSQL_ROOT_PASSWORD=YOUR_DB_PASSWORD
  1. Enable NGINX ingress controller (Go to the official doc to find instructions that suit your platform)
$ minikube addons enable ingress
  1. Edit /etc/hosts file, paste in minikube ip (by running minikube ip in terminal)
[your_minikube_ip] ecommerce-fullstack.dev
  1. Run skaffold
$ skaffold dev
  1. Now you should see the app running at ecommerce-fullstack.dev

A star would be nice if you like it!

About

A fullstack eCommerce website built with MySQL + Express + React, managed with Docker and Kubernetes, and deployed to AWS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •