Giter Club home page Giter Club logo

storefront's Introduction

APISuite Marketplace Storefront

circleci

This is APISuite's Storefront repository.

Docker

Docker images are available in our DockerHub.

Every new image is tagged with:

  • latest (dev-latest and stg-latest from develop and staging respectively)
  • semantic version from package.json (only in production)

Depending on your goals, you could use a fixed version like 1.0.0 or latest to simply get the most recent version every time you pull the image.

Set up

Requirements

  • Node.js >=v14

Install dependencies

npm i

Configuring your local environment

  1. Copy the .env.sample file to .env and adapt it to your setup

Run

To start a development server that rebuilds the project on every change, run:

npm run start

To create a build:

npm run build

Go to https://localhost.develop.apisuite.io:9001

Storefront Configuration

The Storefront uses the same type of configuration object as the core but it hads the following properties:

{
  ...
  "storefrontHeaderBackgroundImg": "URL to get the header background image from",
  "storefrontHeaderImg": "URL to get the header main image from",
  "storefrontLogo": "URL to get the Storefront from",
}

These settings can be managed via the core API, with the /settings/storefronts/{name} endpoints, where {name} matches the REACT_APP_STOREFRONT_NAME environment variable.

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.