Kommunity

Kommunity is a React native application, which helps users share, comment and like picture, send messages to each other. It deletes the images after a certain period of time. Development

This application is created using Expo. It uses Redux for state management and Redux Thunk to manage asynchronous activity. It connects to a node js service which stores user's messages on Mongo db, while the pictures are stored and processed in the cloud using cloudinary. It incorporates gifted chat messenger UI and sends messages via Pusher.

Installation.

  1. You need to have Expo Installed. Get their development tools from Expo tools

  2. Clone this repo or download the zipped file.

  3. Navigate to the master branch.

  4. configure your environment in app.json at the root directory

     {
       "expo": {
         "name": "Kommunity",
         "sdkVersion": "21.0.0",
         "privacy": "public",
         "version": "1.0.0",
         "orientation": "portrait" || "landscape",
         "loading": {
           "icon": "./src/logo.png",
           "hideExponentText": true
         },
         "icon": "./src/logo.png",
         "facebookScheme" : "Your facebook Scheme",
         "infoPlist": {
           "facebookScheme":  "Your facebook Scheme",
           "preset": "cloudinary preset",
           "cloudinaryUrl": "your cloudinary url",
           "url": "https://kommunity-2-2-2.herokuapp.com/",
           "pusherId": "Your pusher Id"
         },
         "ios": {
           "bundleIdentifier": "Your bundle Identidier"
         },
         "android": {
           "package": "Your android package"
         }
       }
     }
    
    
  5. Run

    npm install or yarn
    
    

    This will install the required dependencies.

  6. Run

    npm test
    
    

to run the tests.

  1. Run
    npm start
    
    

Open The IOS device on Expo XDE

alt text

alt text

alt text

  1. Well...enjoy.

Code snapshots

A View Post

alt text

User Chat

alt text

Testing.

This application has been tested using Mocha, which is a feature-rich JavaScript test framework running on Node.js and the browser, making asynchronous testing simple and fun.

Thank You.

Bamgbose Demilade |