Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hady Ibrahim's Shopify's Backend Developer Intern - Summer 2022 Submission

API Documentation

Google Doc of API Documentation

Usage

Requirements

  • WSL2 (Windows only)
  • Docker
  • Docker-compose
  • MySQL Workbench

Installation

Installing Docker

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

Installing Docker-Compose

The current Docker Desktop install should come with docker-compose. Check this by typing:

docker-compose -v

If it isn't installed, follow Docker Compose Installation

Installing MySQL Workbench

MySQL Workbench Installation

You could use any database UI if you already have one installed.

Setup

Clone the repo

git clone https://github.com/itshady/shopify-back-end.git

Setting up the Database

Starting the web app

cd shopify-back-end
docker-compose up -d

Importing the database

Open 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
  1. Next, enter the newly made connection and find Server>Data Import.
  2. Click "Import from self-contained file" and browse to the shopify.sql file
  3. Click Start Import

Finish

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!

About

Shopify Back-end internship technical challenge. API connected to database. Contains documentation.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages