• Stars
    star
    114
  • Rank 298,320 (Top 7 %)
  • Language
    Swift
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ShopApp is an application that transfers an online store into a mobile app

Build Status codecov

ShopApp for iOS

ShopApp connects with popular ecommerce platforms like Shopify, Magento, BigCommerce, and WooCommerce to transfer them into a mobile app for iOS and Android.


So far, we’ve developed a Shopify provider for iOS and Shopify provider for Android. Currently we’re working on adding more providers and extending the features list, so stay in touch with our updates.

Set up environment

To build and submit an application to the App Store, you're required to have XCode 9 installed. If it's not installed yet, follow the instructions from the official website https://developer.apple.com/xcode/ to install XCode 9.

To install the dependencies required for the application build, ShopApp uses CocoaPods. Connect one of the providers for an online store and install all the dependencies. Here we'll use Shopify as an example.

  1. Add the following line to the Podfile:
pod "ShopApp_Shopify", "~> 1.0"
  1. Install all the dependencies:
pod install
  1. You'll also have to configure the provider to get an access to your online store. To get an access, follow the instructions on a provider's page.

Here's how to configure the Shopify provider. Add the following code:

container.register(API.self) { _ in
    return ShopifyAPI(apiKey: "API KEY",
        shopDomain: "SHOP DOMAIN",
        adminApiKey: "ADMIN API KEY",
        adminPassword: "ADMIN PASSWORD",
        applePayMerchantId: "APPLE PAY MERCHANT ID")
}
.inObjectScope(.container)

to the file ShopApp/Data/DI/DataAssembly.swift.

  1. As the result, you'll be able to open the project file and launch an app.

To create a client for another SaaS, you'll have to add the following pod:

pod 'ShopApp_Gateway', '~> 1.0.5'

to the dependencies.

  1. Next, you have to create the class that'll work with the main application and implement the Repository protocol in it.

After that, you can add a new client to the main ShopApp application

Requirements

  • iOS 10+
  • XCode 9 for app development and submission to Apple App Store
  • Cocoapods to install all the dependencies

License

The ShopApp for iOS is licensed under the Apache 2.0 license


RubyGarage Logo

RubyGarage is a leading software development and consulting company in Eastern Europe. Our main expertise includes Ruby and Ruby on Rails, but we successfully employ other technologies to deliver the best results to our clients. Check out our portfolio for even more exciting works!

More Repositories

1

collection-view-layouts

A library that implements custom flow layouts for iOS apps
Swift
662
star
2

emotion-rating-view

A library for animated rating view in Android apps.
Kotlin
302
star
3

media-watermark

GPU/CPU-based iOS Watermark Library for Image and Video Overlay
Swift
203
star
4

shopapp-android

ShopApp is an application that transfers an online store into a mobile app
Kotlin
148
star
5

react-native-firebase-chat

This repository contains the source code for a simple chat application built with React Native (frontend) and Firebase (backend).
JavaScript
148
star
6

detectify

Detectify is a gem for multi-tenant Rack apps, to help you retrieve domain and subdomain-related data from a database.
Ruby
79
star
7

boilerplate

This repo will help you to build quickly your Rails API with Trailblazer and friends.
Ruby
57
star
8

Design-Patterns-in-Swift

This is a repository for our article about design patterns in the Swift programming language https://rubygarage.org/blog/swift-design-patterns
Swift
53
star
9

shopapp-shopify-ios

A Shopify provider for a ShopApp for iOS application
Swift
52
star
10

shopapp-shopify-android

A Shopify provider for a ShopApp for Android application
Kotlin
51
star
11

authorize-me

Authorization with social networks
Swift
44
star
12

rubygarage.github.com

This repository contains slides for Ruby/Ruby on Rails courses from RubyGarage
CSS
44
star
13

nextjs6-graphql-client-tutorial

Demo app
JavaScript
43
star
14

mvc-components-refactoring-in-rails

Code examples of MVC components refactoring in Rails from RubyGarage to SitePoint
Ruby
16
star
15

arkit-example

This repository is created for the article https://rubygarage.org/blog/create-augmented-reality-app-for-ios-11
Swift
12
star
16

shareconomy

Ruby
7
star
17

holtwinters

JavaScript
4
star
18

graphql_meetup

Ruby
4
star
19

graphql-tutorial

Ruby
3
star
20

monitorbit

Ruby
2
star
21

aws-practice

2
star
22

odbcimporter

Go
1
star
23

rubyhub

Ruby implementation for hub soft
Ruby
1
star
24

vertigo-rtm-outdated

Ruby
1
star
25

frontend-internship-template

JavaScript
1
star
26

bootstrap-store-theme

HTML
1
star
27

interview-rails

Ruby
1
star
28

action_controller_audit_trail

Action Controller Audit Trail gem
Ruby
1
star
29

trailblazer-courses

Ruby
1
star
30

ios-application-testing

This repository demonstrates how to set up your iOS project for automated testing. We created this repo as a demo project for the article https://rubygarage.org/blog/testing-ios-app .
Swift
1
star
31

sentryimporter

Go
1
star
32

interview-vuejs

Vue
1
star
33

terraform-boilerplate

HCL
1
star
34

interview-react-and-scss

JavaScript
1
star