https://github.com/mlezcano1985/audience-view-reactjs
https://github.com/mlezcano1985/audience-view-reactjs
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/mlezcano1985/audience-view-reactjs
- Owner: mlezcano1985
- Created: 2022-10-10T20:24:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T20:51:09.000Z (over 3 years ago)
- Last Synced: 2025-02-24T13:48:48.743Z (over 1 year ago)
- Language: TypeScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AudienceView ReactJS
Small e-commerce using as a data source the API . It's a basic example, that only fetches all offers and adds or removes items to the shopping cart.
## Features
- List all products from the API.
- Add products to the shopping cart.
- Remove products from the shopping cart.
- Clear the shopping cart.
- Show total amount.
## Start application on a local environment
### NodeJS
1. Install [NodeJS](https://nodejs.org/en/).
2. Clone de repository.
3. Open a terminal on the root of the repository and install it's depencencies:
```bash
npm i
```
Run the app in development mode:
```bash
npm run dev
```
Or in production mode:
```bash
npm run build
```
```bash
npm start
```
After the app is running, open the link .
### Docker
1. Install [Docker](https://www.docker.com/).
2. Open a terminal on the root of the repository and run these commands:
```bash
docker build --force-rm -t audience-view-reactjs .
```
```bash
docker run --rm -it -p 3000:3000 audience-view-reactjs
```
After the app is running, open the link .
## Feedbacks
Some bug? Let me know here :point_right: [Twitter](https://twitter.com/mlezcano1985).