Geta Checkout

Building blocks for checkouts at Geta.
Includes an API-layer and a UI library.

npm install --save geta-checkout

See the demo
Read the tutorial

UI

Write custom UI components
Create a custom CSS theme using Sass

This package includes a set of UI components.
Use them directly, or as boilerplates for creating your own, custom UI.
If using them as boilerplates, you will need to run React.

AddToCart
Cart
Coupon
CartTotal
CustomerProfile
Login
OrderButton
Payment
Registration
Shipment
Total

API

How to configure API services
How to add a custom API

If you need direct access to data from the server-side, check out these APIs.
Also, if you're implementing the back-end or the UI, have a look at these pages.

Address
Cart
CartItem
Customer
Language
Image
Order
Payment
Price
Shipment
WishList

Project structure


+-- gulpfile.js                     Automated tasks for linting, building, documentation and more.
|
+-- /docs                           Generated GitHub pages. Do not edit manually.
|                                   Contains html generated from src/**/*.{md,html}.
|                                   Includes js and css for tests and examples.
|
+-- /gulp-tasks                     Used by gulpfile.js.
|
+-- /src                            All source files, includiong documentation and demo.
    |
    +-- index.js                    The main entry file.
    |                               Exposes api, render, server and ui.
    |
    +-- tests.js                    All mocha tests to be run in the browser.
    |
    +-- /api                        Built-in APIs.
    |
    +-- /demo                       Everything needed for the demo page and the UI examples.
    |                               Demonstrates various possibilities.
    |
    +-- /docs                       Documentation-specific source files.
        |
        +-- /template               Includes a simple html template for the docs.
        |
        +-- /test                   A html page for running mocha tests.
    |
    +-- /render                     The render() function.
    |
    +-- /server                     The mock server.
        |
        +-- /fixtures               The dummy data displayed in the demo.
    |
    +-- /ui                         The user interface.
        |
        +-- default-theme.scss      The default theme.
        |                           Can be used as a boilerplate for new projects.
        |
        +-- index.scss              All sass mixins for the UI components.
        |
        +-- /components             Public user interface components.
        |                           All files named container.jsx are made public through index.js.
        |
        +-- /layouts                Used internally by the ui components.
        |
        +-- /scss                   Sass helper mixins.

Unit tests

Run all tests

MVP Roadmap

Jira board