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.
-
You need to have Expo Installed. Get their development tools from Expo tools
-
Clone this repo or download the zipped file.
-
Navigate to the master branch.
-
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" } } }
-
Run
npm install or yarn
This will install the required dependencies.
-
Run
npm test
to run the tests.
- Run
npm start
Open The IOS device on Expo XDE
- Well...enjoy.
A View Post
User Chat
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.