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.
- Host: GitHub
- URL: https://github.com/mondalbidisha/shopping-cart-react
- Owner: mondalbidisha
- Created: 2020-08-31T20:17:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-01T08:27:11.000Z (almost 6 years ago)
- Last Synced: 2025-06-03T20:59:05.029Z (about 1 year ago)
- Topics: bootstrap, java, javascript, json-server, react
- Language: JavaScript
- Homepage:
- Size: 428 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.