Skip to content

TarikFojnica/react-moltin-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECIATED

The project is based on Moltin API v1 which was depreciated and shut down recently. Please use this repo as a reference only.

React Moltin Ecommerce is an app demonstrating the usage of Moltin Javascript API and React

How to run the app

  1. Make sure you have Create React App installed on your system
  2. Clone the repository
  3. cd react-moltin-ecommerce
  4. npm install
  5. Copy the public ID from your Moltin account and use it in src/vendor/config.js
  6. npm start

How to compile the SCSS

  1. cd src/styles
  2. sass --watch scss:css

The current setup will minify all of the assets including JS and CSS files.

How to build the project for production

  1. npm run build
  2. Deploy the /build directory

TODOS

  • Remove the unused CSS framework modules
  • Organize the SCSS modules better
  • Work on smaller screen optimization
  • Use arrow functions where possible
  • Improve the error handling
  • Adopt the Presentational and Container Components pattern
  • Display the correct <title> when browsing pages

Technologies

About

[DEPRECIATED] React based Moltin API ecommerce implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published