Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shopgate/pwa

Shopgate Connect PWA library
https://github.com/shopgate/pwa

javascript-library library pwa shopgate shopgate-pwa

Last synced: 2 days ago
JSON representation

Shopgate Connect PWA library

Awesome Lists containing this project

README

        



Shopgate Logo

Shopgate's ENGAGE

[![Build Status](https://travis-ci.org/shopgate/pwa.svg?branch=v6.X)](https://travis-ci.org/shopgate/pwa)
[![Coverage Status](https://coveralls.io/repos/github/shopgate/pwa/badge.svg?branch=v6.X)](https://coveralls.io/github/shopgate/pwa?branch=v6.X)
[![GitHub (pre-)release](https://img.shields.io/github/release/shopgate/pwa/all.svg)](https://github.com/shopgate/pwa/releases)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lernajs.io/)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

## Documentation

Check out our [documentation website](https://developer.shopgate.com/guides)!

## Setting up new core extensions

To set up a new core extension you need to perform the following steps:

* Add an exception into the `.gitignore` file as it was done with `@shopgate-product-reviews`.
* Open the file `repos.json` and add the repository to include there as a subtree.
* Add the new extensions into the `Makefile` as an additional value for the `EXTENSIONS` variable.
* If it's not an extension, then use the apropriate variable in the `Makefile`.
* Open the monorepo's `lerna.json` file and add your extension as an additional entry in `packages`
* Add the same entry additionally into `workspaces` in the `package.json` file

## PWA 7 specialities
The GMD theme of PWA 7 supports a special mode to display responsive content for desktop browsers. To enable PWA in desktop browsers, pipeline requests (that are an app concept originally) are transformed to AJAX requests which are send to a special proxy which is called "web bridge".

To enable the bridge, frontend needs to be started with a special environment parameter.

```shell
WEB_BRIDGE=1 sgconnect frontend start
```
or
```shell
WEB_BRIDGE=1 sgconnect frontend start -t theme-gmd
```

## About Shopgate

Shopgate is the leading mobile commerce platform.

Shopgate offers everything online retailers need to be successful in mobile. Our leading
software-as-a-service (SaaS) enables online stores to easily create, maintain and optimize
native apps and mobile websites for the iPhone, iPad, Android smartphones and tablets.

## License

Shopgate's ENGAGE is available under the Apache License, Version 2.0.

See the [LICENSE.md](./LICENSE.md) file for more information.