Coder Social home page Coder Social logo

sentiurin / flagship Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brandingbrand/flagship

0.0 1.0 0.0 13.98 MB

๐Ÿšข A tool for building your best shopping app

License: MIT License

JavaScript 1.57% Java 0.67% Ruby 0.86% Objective-C 0.47% TypeScript 92.52% HTML 0.35% CSS 3.32% Shell 0.14% Dockerfile 0.01% Starlark 0.10%

flagship's Introduction

Flagship

A tool for building your best shopping app

Travis Status Greenkeeper Lerna

Flagship

๐Ÿ’ป Check out our Wiki for developer documentation!

About Flagship

Flagship accelerates development

Flagship accelerates development of the best omnichannel commerce experiences by providing a library of pre-built components and integrations. That way, you can focus more on innovations that matter.

Flagship helps you to:

  • Build sites and apps in a singular codebase using components based on proven best practices
  • Connect commerce APIs automatically using our API adapters
  • Manage personalized engagement campaigns using the tools you already use or ours

It's written in React Native and developed by Branding Brand.

How It Works

Building with Flagship

Flagship is comprised of a core flagship package and a number of ancillary modules which work together to help you build an ecommerce experience.

You can use modules independently โ€” with or without the flagship core package. For example, fsproductindex displays a product index which you can use as a screen or embed as part of a larger screen. See packages for an exhaustive list of modules.

Flagship core manages the boilerplate Android, iOS, and web code, similar in concept to Expo. For a more detailed exploration of the features of Flagship, see the flagship package.

Flagship foundation architecture diagram

Modules are built using a shared stack of foundation packages which provide a unified interface for networking, analytics, commerce integrations, components, and more across each of our supported platforms. Higher-level modules do not need to implement platform-specific code.

Foundation packages provide a normalization over their integrations. For example, fscommerce provides a single interface to query both Demandware and Shopify. The higher-level fsproductindex module doesn't need to know what the data source is to display a grid of products.

These foundation packages are built on top of one another. For example, fscomponents has props that inherit from fscommerce; fscommerce sends analytics using fsengage; and fsengage talks to the network using fsnetwork.

Foundation

Flagship's foundation is comprised of:

Name Responsibility
fscomponents reusable, cross-platform frontend components
fscommerce product catalog, search, order and user account management, and reviews
fsengage analytics, content management, and A/B testing
fsnetwork networking and caching
fsfoundation baseline types used by other Flagship packages

Platforms

Supported platforms are:

  • android
  • ios
  • native (both iOS and Android)
  • web

Troubleshooting

Troubleshooting Flagship

If you encounter issues while using Flagship, please check out our Troubleshooting guide where you might find the answer to your problem. If you encounter something that is not listed there, try searching for the issue in GitHub.

We want your feedback! Please open a new issue to report a bug or request a new feature.

Need more help? Contact us.

Commands

init

flagship init [platform] [options]

Copies and configures the native project for the given platform. If you don't specify a platform, all platforms will be initialized. See Platforms.

Options

Option Alias Description
--env -e The name of the environment to build. Defaults to prod. See Environments

clean

flagship clean [platform]

Removes build and installation artifacts for the given platform. If you don't specify a platform, build artifacts for all platforms will be removed. See Platforms.

env

flagship env

Generates the environment index file. Use this if you've added a new environment since the last time you ran flagship init. See Environments.

Packages

Foundation Packages

  • fsfoundation: baseline types used by other Flagship packages
  • fsi18n: internationalization and localizaiton
  • fsnetwork: networking and caching

Engagement Packages

  • fsengage: analytics, content management, and A/B testing

Commerce Packages

  • fscommerce: product catalog, search, order and user account management, and reviews

User Interface Packages

Utility Packages

Example Projects

flagship's People

Contributors

bweissbart avatar cauldrath avatar nathan-sankbeil avatar greenkeeper[bot] avatar davidrhodesbb avatar skyeckstrom avatar sdenaci avatar jcarvin avatar romaniukua avatar chukohsin avatar bodrus avatar rosahbruno avatar dependabot-preview[bot] avatar nickburkhartbb avatar varzaman avatar huizhuz avatar pavlemilicevicbb avatar sentiurin avatar mauricioperezbb avatar olkorsia avatar vancehu avatar shaheed-shamsi avatar richter31 avatar bradhabenichtbb avatar michaelabelebb avatar abelemw avatar olexandor avatar lhenze33 avatar jcploucha avatar griffithcaleb avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.