Skip to content
This repository was archived by the owner on Jul 28, 2022. It is now read-only.

TheKeymaster/findologic-api-demo-symfony

Repository files navigation

FINDOLOGIC-API Demo - Symfony 5

Work In Progress! Some features may not be implemented. Use it at your own risk.

This is a small Symfony 5 application, which utilizes the FINDOLOGIC-API to display a search in a "real" shop.

You can find a publicly available demo of this repository here.

Installation

Since this is a plain Symfony project with only one controller, please refer to the Symfony documentation.

The only thing that needs to be done manually is setting the ServiceId/Shopkey in the .env file. The key is FINDOLOGIC_SERVICE_ID.

Usage

Having installed the Symfony CLI, a simple symfony serve should be enough to start the web server. You can access the search via the /search route, or by clicking this link: http://localhost:8000/search.

Development

Search

The search implementation, which talks to the FINDOLOGIC-API, can be found in src/Controllers/FindologicApiController.

JavaScript / SCSS Compilation

For local development you can have a file watcher. To enable it, run:

  1. yarn install which install all necessary dependencies.
  2. yarn run encore dev --watch which starts the file watcher.

About

A FINDOLOGIC-API demo for Symfony 5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published