Skip to content

Repository files navigation

Shopdunk clone

A fullstack ecommerce website with ReactJs, Spring Boot, Nginx, Docker. Data is crawled with Selenium, from: https://shopdunk.com/.


Design architecture

Architecture

Database design

Database

Project overview

  • Backend
    • Spring Boot
  • Frontend
    • ReactJs (Typescript)
  • Database
    • MySQL
  • Deployment
    • CI/CD with Github Actions
    • Docker, Docker Compose
  • Crawler
    • Selenium

How to deploy production

Clone project to the production server.

Edit ./nginx/urls/urls_production.js with your production hosting server URL.

Set up GitHub Actions secret to match your keys.

Commit changes to the main branch as it will trigger the GitHub Actions workflow to build the docker images and restart docker-compose commands.

If it is your first run, then initialize data by running

bash make_data.sh

How to deploy locally

Edit ./script/env.sh to match your keys

source ./script/env.sh && bash ./script/build.sh development
bash make_run.sh development
bash make_data.sh

Go to http://localhost

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages