https://github.com/s-kris/phonesamples
Search, Browse & Upload Camera Samples of Mobile Phones.
https://github.com/s-kris/phonesamples
react-primitives reactjs webapp
Last synced: 18 days ago
JSON representation
Search, Browse & Upload Camera Samples of Mobile Phones.
- Host: GitHub
- URL: https://github.com/s-kris/phonesamples
- Owner: s-kris
- License: mit
- Created: 2018-04-30T04:52:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-05T07:56:14.000Z (almost 4 years ago)
- Last Synced: 2025-03-20T07:23:19.802Z (3 months ago)
- Topics: react-primitives, reactjs, webapp
- Language: JavaScript
- Homepage: https://phone-samples-5d569.firebaseapp.com
- Size: 326 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Phone Samples
Search, Browse & Upload Camera Samples of Mobile Phones
[Demo](https://phone-samples-5d569.firebaseapp.com)
### notes
* Created this when I was learning React & React Native
* Instead of HTML elements, [React Primitives](https://github.com/lelandrichardson/react-primitives) were used mostly
* This is my first open-source project, excuse any mistakes## Todo
* Add firebase cloud function to remove GPS exif data upon photo upload
* Detect and blur offensive images that get uploaded
* Optimize **Feed**
* Optimize the production build by adding code splitting## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
```
npm (or) yarn
```### Running a local copy
* Clone the repository
```
git clone https://github.com/s-kris/phonesamples.git
```* Create a project and copy the config from firebase console to **src/config/FirebaseConfig.js**
_(you can skip this step if you don't want to test firebase features)_```
export const config = {
apiKey: 'XXXXXXXXX',
authDomain: 'XXXXXXXXX.firebaseapp.com',
databaseURL: 'XXXXXXXXX.firebaseio.com',
projectId: 'XXXXXXXXX',
storageBucket: 'XXXXXXXXX.appspot.com',
messagingSenderId: 'XXXXXXXXX',
};
```* Run the local app
```
npm install (or) yarn install
npm start (or) yarn start
```## Built With
* [create-react-app](https://github.com/facebook/create-react-app)
* [reactstrap](https://reactstrap.github.io)
* [react-primitives](https://github.com/lelandrichardson/react-primitives)
* [mobx](https://mobx.js.org)
* [react-app-rewired](https://github.com/timarney/react-app-rewired)
* [firebase](http://firebase.google.com)## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
## Contributors
* Looking for contributors
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details
## Acknowledgments
* [unsplash](http://unsplash.com) - free stock images
* [mobx decorators without ejecting react app](https://github.com/leighhalliday/mobx-decorators-without-ejecting)
* [fonoapi](https://github.com/shakee93/fonoapi) - free phone models api service