Skip to content

Getting started

Backend Server

Note

As default configuration, the backend server listens for port 3001.

It is required to use a backend service for authentication.

  1. Clone this repository and follow the setup instructions.
  2. Run:
    npm i # install
    npm start # start backend server
    

Install in your frontend

npm install fcecom-frontend-api-client

Initialize

import { EcomApi } from 'fcecom-frontend-api-client';

const api = new EcomApi('http://localhost:3001/api');
api.setDefaultLocale('de_DE');

await api.init();

Last update: November 15, 2022