Google Doc of API Documentation
- WSL2 (Windows only)
- Docker
- Docker-compose
- MySQL Workbench
If you are on a windows, you will need install WSL2 because Docker must be run on a linux OS
Next download Docker Desktop and get it running so docker works on your linux
The current Docker Desktop install should come with docker-compose. Check this by typing:
docker-compose -vIf it isn't installed, follow Docker Compose Installation
You could use any database UI if you already have one installed.
git clone https://github.com/itshady/shopify-back-end.gitcd shopify-back-end
docker-compose up -dOpen MySQL Workbench and add a new connection with the following data:
- Connection Name: Anything you want to name it
- Connection Method: Standard (TCP/IP)
- Hostname: 127.0.0.1
- Port: 3306
- Username: root
- Password: password (only if it asks for a password, else store this in vault)
- Default Schema: Leave this empty
- Next, enter the newly made connection and find Server>Data Import.
- Click "Import from self-contained file" and browse to the shopify.sql file
- Click Start Import
Now that the database is imported and the web app is up and running, just navigate to http://localhost:8100/shopify/ and it should be good to go!