GithubHelp home page GithubHelp logo

doc22940 / commercejs-reactjs-vuejs-demo-store Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chec/commercejs-reactjs-vuejs-demo-store

0.0 1.0 0.0 30.58 MB

Headless eCommerce demo store using Commerce.js SDK. Built using React.js (Vue.js branch available) illustrating 100% custom storefront, cart, checkout and order confirmation views.

Home Page: https://chec.github.io/commercejs-reactjs-vuejs-demo-store/#/

HTML 1.50% JavaScript 14.39% CSS 81.86% Shell 0.07% SCSS 2.17%

commercejs-reactjs-vuejs-demo-store's Introduction

Demo store using Commerce.js & React

This demo-store uses Commerce.js, an eCommerce client-side JavaScript SDK.

Demo button

Spin up a local demo

Follow the instructions below to install the Chec CLI.

Install source code using the Chec CLI

Use the Chec CLI to create copy of the source code on your computer. First follow the instructions to install the Chec CLI.

Once installed login using the Chec login command. Then run the Chec demo-store command and select the react-shoe-store.

If authenticated successfully (tip: use chec whoami) your Chec Dashboard should now include two sample products, seeded by the Chec CLI, and your terminal should have a react-shoe-store directory.

Clone & use NPM script seed

You can also skip the use of the Chec CLI and instead clone the repo, switch to the react.js branch, make a copy of .env.example into .env and setting the variables needed.

You must specifiy your secret key in the .env for the seed script to have the proper permission to seed your Chec Dashboard with the sample product data. Please remove the secret key when not in use anymore.

Once you have the proper .env keys run yarn install then yarn seedβ€”and when ready to serve the application yarn serve.

Other Branches

  • Vue.js
    • Contains an abstracted version of the Master branch using Vue.js CSS/SASS, templating syntax. View here
  • Master (not ready)
    • Contains a plain HTML/CSS/SASS/Vanilla JS implemenation.

commercejs-reactjs-vuejs-demo-store's People

Contributors

john-raymon avatar robbieaverill avatar eufandem avatar scopeynz avatar dependabot[bot] avatar 3t8 avatar jaepass avatar

Watchers

 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.