The Geek Squeek web shop is a group project assignment in object oriented programming 2, Java by Tankesmedjan 2021 (SYSJG4 @ Newton Kompetensutveckling). The team members of Tankesmedjan are ChristofferGustafsson20, mdanneil, Richardsonn1 & hejmi
You can try our project by creating a Docker container containing both our application images and a mysql image by following the steps;
Will create a project containing 3 images: mysql 5.7, geeksqueek_app-server and geeksqueek_app-client.
-
Create project folder structure as demonstrated below
-
Pull Github repository for backend from: https://github.com/Tankesmedjan/webshop_geekshop.git, save it to folder
backend
underroot
. Move demo-dump.sql and docker-compose.yml fromroot_files
toroot
-
Pull Github repository for frontend from: https://github.com/Tankesmedjan/webshop_geekshop_frontend.git, save it to folder
frontend
underroot
-
Build Docker container with Terminal from
root
: docker-compose -p geeksqueek up -
Browse to http://localhost:3000 to view the web shop. (Backend will run on port 3001)
You can use BasicUser/pw1 to login as customer or Admin/pw2 to login as administrator in frontend
<root>
│
├── demo-dump.sql (from <root_files> in backend git)
├── docker-compose.yml (from <root_files> in backend git)
│
├── <backend> (from webshop_geekshop.git)
│ │
│ ├── dockerfile
│ └── ...
│
├── <frontend> (from webshop_geekshop_frontend.git)
│ │
│ ├── dockerfile
│ ├── nginx.conf
│ └── ...