GithubHelp home page GithubHelp logo

alihussnain-git / gallery-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 667 KB

This is an image gallery app made in react native,

JavaScript 2.08% TypeScript 74.86% Ruby 4.23% Java 13.19% Objective-C 4.25% Objective-C++ 1.39%
commenting gallery-app react react-native redux-toolkit responsive-design

gallery-app's Introduction

Image Gallery app

Screenshot 2023-07-21 at 17 33 33

Prerequisites

Make sure you have completed the React Native - Environment Setup

Installation

run yarn This command will install all packages and prepare the development environment to run the app.

for building ios after yarn install run 
1. cd ios
2. pod install

Available scripts

First, you will need to start Metro, the JavaScript bundler that ships with React Native.

To start Metro, run the following command from the root of your React Native project:

yarn start

Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:

For android

yarn android

For iOS

yarn ios

If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.

This is one way to run your app โ€” you can also run it directly from within Android Studio and Xcode respectively.

Run tests

yarn test

Run Lint

yarn lint

Solution

  • Create a gallery app using https://picsum.photos images
  • Implemented responsive image gallery for all android and iOS devices
  • Implemented CRUD functionality for comments with redux toolkit with a complete UX.
  • added test coverage using jest and react-native testing library

Improvements

  • 12-Factor approach: Using react-native-config to for environment setting like staging, prod etc. Currently base url is hard coded in environment.ts
  • Pagination: Pagination to load more images as user scrolls down
  • Optimize image loading: Loading a large number of high-resolution images can impact performance, implementing techniques like lazy loading and image caching to improve the loading speed of the gallery.
  • Comments functionality to be handled by API to socialize better with others.
  • Image caching and offline support: Implement image caching to improve the performance of image loading and enable offline support. Cache the images locally on the device so that they can be viewed even without an internet connection. User should also be able to store image in their phone.
  • Image sharing: Allow users to share the photos via social media platforms or other apps installed on their device. Add a share button or menu option that opens the sharing functionality.
  • Image search: Implement a search functionality that allows users to search for photos based on keywords, tags, or other metadata. Add a search bar where users can enter their search queries and display the matching results.

gallery-app's People

Contributors

alihussnain-git avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.