Giter Site home page Giter Site logo

harrywutech / frontend-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from klevultd/frontend-sdk

0.0 0.0 0.0 3.28 MB

Monorepository for Klevu headless

Home Page: https://www.klevu.com

License: MIT License

JavaScript 0.96% TypeScript 94.67% CSS 4.15% HTML 0.23%

frontend-sdk's Introduction

Klevu

Headless product discovery, for every body

With Klevu’s brand new SDK, you can pull the power of AI product discovery into anything.

A traditional website, a single page application (SPA), progressive web app (PWA), a mobile app, a campaign website, an in-store kiosk, a spaceship… whatever.

Simpler for developers, faster to innovate.

Klevu headless monorepository

Here are the links to different projects.

Integrate Klevu into your application with ease. We do all the heavy lifting.

Klevu SDK brings smart search, category merchandising and recommendations solution to your ecommerce store. Klevu makes it easy to create the best product browsing experience for your customers.

Klevu already has a simple to implement JavaScript library that is perfect for most users, so who is this library good for?

TypeScript SDK

The Klevu SDK is written in TypeScript which gives you:

  • Full auto-completion support of integrated development environments (IDEs)
  • Full documenation from the code comments!
  • Easy and fast way to integrate Klevu to your custom UI

SPA (Single Page Applications)

This library supports all the major frontend libraries like React and Vue. This SDK however gives you the ability to plugin Klevu smart search, category merchandizing and recommendations any way that you would like. Including event tracking of product clicks, searches, and purchases that drive the AI at Klevu's core.

PWA (Progressive Web Applications)

PWAs are designed to give users an experience on par with native apps. With the Klevu SDK, you can also bring the power of Klevu AI into your PWA.

SSR & SSG (Server Side Rendering & Static Site Generation)

SSR & SSG are quickly becoming standard features in all of the most popular frontend frameworks such as NextJS and NuxtJS. With the Klevu SDK you can both increase your store's SEO and your user's experience by requesting search results, category pages, and recommendations before the page loads.

Full Creative Control, on Full Power

The Klevu SDK gives developers maximum control over the way they want to display and allow users to interact with your product catalog. When you add the SDK library to your project you have all the building blocks necessary to create trully unique user experiences that perfectly fit your brand.

Klevu SDK Feature List

We've packed a lot of features into the React Example included with this SDK. Here are many of the features and where to find a working example. You can also take a look a the React Example README for more information on what is implemented in the example and click here to:

Search

Feature Description Example
Quick Search Example used to display search results as you type into a text field. quicksearch.tsx
Search Results Landing Page Example to show search results based on a keyword passed in the URL. SearchResultPage.tsx
Category Navigation Example display of products in a Category/Collection. CategoryPage.tsx
Single Product Search Example of using search to query the data for a single product. ProductPage.tsx
Filters Examples of filters to narrow down products based on product facets. SearchResultPage.tsx
CategoryPage.tsx
Load More Results Example of a Load More button to request more products. SearchResultPage.tsx

Analytics

Analytics drive the Machine Learning Klevu uses to provide users the best results.

Feature Description Example
SearchEvent Track what was searched. quicksearch.tsx
Search Product Click Event Track the products that are clicked from search results. SearchResultPage.tsx
Category Navigation Product Click Event Track the products that are clicked from category pages. CategoryPage.tsx
Buy/Purchase Event Track the products that are purchased. CheckoutPage.tsx

Recommendations

Feature Description Example
Klevu Merchant Center Recommendations Add recommendations created within KMC. 1 HomePage.tsx
CategoryPage.tsx
ProductPage.tsx
Similar Products ProductPage.tsx

Personalization

Feature Description Example
Personalisation Easily add personlization to your klevuFetch searches by adding a modifier. HomePage.tsx

Utilities

Feature Description Example
KlevuKMCSettings Load your Klevu Merchant Center settings into the browser's localstorage. index.tsx

Internal development

All projects in this repository can be build and run using VSCode.

Node.js and npm is required to be installed on your system before starting. This should be done once before starting development.

In the root of this repository run npm to install all packages

npm install

Run build once to make sure everything is good to go.

npm run build

VSCode run development environment

You can run full environment inside VScode. Run default build task ctrl+shift+b in windows and shift+command+b in mac. This watched builds on all projects and runs react example project.

VSCode extensions

It is recommened to have ESLint and Prettier extensions installed in order to produce clean code.

Footnotes

  1. Klevu's Merchant Center allows you to create recommendations for specific uses that take into account the context of the pages they are added into.

frontend-sdk's People

Contributors

rallu avatar jerrypena1 avatar davidwarrington avatar dependabot[bot] avatar dhawalmodi avatar

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.