An ECommerce website powered by CommerceJS and ReactJs
Contact OnDemandStartUps GitHub Pages for customized solution
Grocery app is created in ReactJS. Its easy to deploy application and any one can deploy it with little effort.
- Open https://bitbucket.org/mobnext/grocery-demo/src/master/
- Open terminal
$ git clone https://[email protected]/mobnext/grocery-demo.git
$ cd <folder name>
Create account on CommerceJS website and get your api keys.
REACT_APP_CHEC_PUBLIC_KEY=pk_xxx
REACT_APP_STRIPE_PUBLIC_KEY=sk_xxx
$ npm install
$ npm start
Create a product on CommerceJS dashboard.
- Set SHIPPING OPTIONS to enabled
- Set Domestic (United States) to enabled
- open website on http://localhost:3000
- select one product
- add to cart
- proceed to checkout
- confirm order
- open admin dashboard on https://dashboard.chec.io/orders
- find the last order
- check email to see the order
- open https://www.netlify.com
- sign up and login to your account
- Open https://app.netlify.com
- Click Import Project or drag the folder directly
- Click Import Git Repository
- Enter name:COMMERCE_PUBLIC_KEY_LIVE
- Enter value: your public key on Commercejs
- click deploy button
- wait to complete deployment
- click Visit Site at the end