Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthurpedroti/go-marketplace
A simple cart system to add and remove products, using ContextAPI and AsyncStorage
https://github.com/arthurpedroti/go-marketplace
async-storage axios context-api eslint prettier react react-native styled-components
Last synced: about 2 months ago
JSON representation
A simple cart system to add and remove products, using ContextAPI and AsyncStorage
- Host: GitHub
- URL: https://github.com/arthurpedroti/go-marketplace
- Owner: ArthurPedroti
- License: mit
- Created: 2020-05-06T22:04:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T17:54:50.000Z (almost 2 years ago)
- Last Synced: 2024-05-28T21:09:35.829Z (7 months ago)
- Topics: async-storage, axios, context-api, eslint, prettier, react, react-native, styled-components
- Language: TypeScript
- Homepage:
- Size: 3.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GoMarketplace
A simple cart system to add and remove products, using ContextAPI and AsyncStorage
Description |
Languages |
Technologies |
Install |
Usage |
License## Description
On this project we created a cart context to encompass all the application, with this context, we created some hooks to manage the state of the products over the application. Basically, we create an effect to listen to all the changes and save that changes at asyncstorage, to don't lose the cart when you leave the application, and created the hooks(increment and decrement), to manage the products state.
## :computer: Languages
- **#TypeScript**
## :books: Technologies
- **#React**
- **#ReactNative**
- **#ESLint**
- **#Prettier**
- **#Styled-Components**
- **#Axios**
- **#ContextAPI**
- **#AsyncStorage**## Install
```sh
yarn android
or
yarn ios
```## Usage
```sh
yarn start
```## Author
👤 **Arthur Pedroti**
* Github: [@ArthurPedroti](https://github.com/ArthurPedroti)
* Linkedin: [@ArthurPedroti](https://www.linkedin.com/in/arthurpedroti)## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/ArthurPedroit/GoMarketplace/issues). You can also take a look at the [contributing guide](https://github.com/ArthurPedroit/GoMarketplace/blob/master/CONTRIBUTING.md).## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2020 [Arthur Pedroti](https://github.com/ArthurPedroti).
This project is [MIT](https://github.com/ArthurPedroit/GoMarketplace/blob/master/LICENSE) licensed.---
Made by :blue_heart: by [Arthur Pedroti](https://github.com/ArthurPedroti)