React Native E-commerce
E-commerce mobile application developed using React Native
- React Native
- Redux / Saga
- JSON Server
- Unit Testing
Dependencies
You must have a package manager installed and json-server. JSON Server will simulate a API response, allow us to get items details.
Getting Started
To install all dependencies, you need to run the following command:
$ yarn
To run JSON Server, you could do some configurations or execute the following command if you installed json-server as global:
$ json-server server.json -p 3001 -w -d 300
To run the project, you must have installed Android and/or iOS environment. Use 'run-ios' or 'run-android':
$ react-native run-ios
Tests
Run the following command to execute all tests:
$ yarn test
To run tests with coverage:
$ yarn test --coverage