An open API service indexing awesome lists of open source software.

https://github.com/mondalbidisha/shopping-cart-react

Simple eCommerce shopping cart website built using react and twitter bootstrap. Product information shown is taken from a mock API server hosted using JSON server.
https://github.com/mondalbidisha/shopping-cart-react

bootstrap java javascript json-server react

Last synced: 3 months ago
JSON representation

Simple eCommerce shopping cart website built using react and twitter bootstrap. Product information shown is taken from a mock API server hosted using JSON server.

Awesome Lists containing this project

README

          

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.

You will also see any lint errors in the console.

## Install

```
$ clone git@github.com:basir/ecommerce-shopping-cart.git
$ yarn
```
## Run Server

Install json-server npm package if not already present.
```
$ npm install -g json-server
```
then
```
$ yarn server
```
or
```
$ json-server public/db.json --port 8000
```

## Run App
```
$ yarn start
```
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.