Skip to content

odayakanaasa/react-demo-store

 
 

Repository files navigation

This project was bootstrapped with Create React App.

You can find a guide to some of the most common tasks here.


Deploying the app with Heroku

Deploy


Deploying the app with Docker

  1. Download and install docker
  2. Make sure docker is running locally
  3. Run docker build -t lamp at command line
  4. Run the docker image with the command docker run -p 5000 IMAGE_ID where IMAGE_ID is the image ID shown in the result of step 3.
  5. Access your app on port 5000

Deploying the app with Digital Ocean

Not ready Install on DigitalOcean


Running this app locally

  1. Clone this repository & cd into it.
  2. Run npm install.
  3. In src/utils/moltin.js, on line 3, replace client_id with your own moltin client_id
  4. Run npm start.

Using this app with your own moltin store

The app expects a certain inventory setup to correctly function as an ILoveLamp store, if you'd like to build it from the ground up, here's what to do:

  1. Create a collection with the slug top_picks
  2. Create at least one category
  3. Create at least one product
  4. Create at least one file i.e. an image for your product
  5. Attach the product/s to the category and collection
  6. Attach the file to the product as a main image

About

ILoveLamp Moltin Store, built with ReactJS (WIP)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.1%
  • HTML 1.6%
  • CSS 0.3%