Skip to content
Marius edited this page Dec 1, 2023 · 2 revisions

Range of functions

FirstSpirit Connect for Commerce (CFC) is a generic solution to integrate e-commerce systems into FirstSpirit and enables editors to do the following:

  • Create native shop content with FirstSpirit
  • Access to product and category information
  • Display shop elements and editorial content in the FirstSpirit preview simultaneously

This project is a reference implementation of the necessary extensions for Spryker to allow the usage with CFC. It has been developed for and tested with the Spryker shop version 202311.0.

For more information about Connect for Commerce, see the documentation.

Architecture

image

  • Bridge connects the FirstSpirit server with the shop backend to allow fetching of product and category data to display them when editing content
    • Implementation provided as Node.js based microservice
    • Needs to be hosted so that the FirstSpirit server can access it and it can access the Spryker Glue API
    • Can be obtained from GitHub
    • See documentation
  • CFC Frontend API Backend connects the storefront with the CaaS to fetch the content managed by FirstSpirit via the CaaS
    • Node.js based microservice
    • Needs to be hosted so that it can be accessed by the editors browser and the Spryker server
    • Can be obtained from GitHub
    • See documentation
  • CFC Frontend API client part is included in the storefront frontend and adds content editing functionalities when inside the ContentCreator
    • static.js file needs to be hosted so it can be accessed by the clients browser
    • Already fetched by the Spryker modules provided
    • Can be obtained via npm, but static.js file will be provided
    • See documentation
Clone this wiki locally