Giter Site home page Giter Site logo

himanshu1221 / go-social Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scorelab/go-social

0.0 0.0 0.0 3.02 MB

Community of today used to use mobile phones to make their life easier and Community based mobile applications are famous among them. There are several kind of community based applications in use and most of them are relating to a specific domain. But core components have similar features. Address this issue and saving development time by Introduci

License: Apache License 2.0

JavaScript 93.95% Objective-C 2.87% Java 1.90% Starlark 1.28%

go-social's Introduction

Go-social

Codacy Badge Build Status License Gitter

Today's community use mobile phones to make their life easier, and community-based mobile applications are famous among them. There are several kinds of community-based applications in use, and most of them relate to a specific domain. But core components have similar features. Addressing this issue and saving development time by introducing a common app template with customizable components for community-based mobile applications is the main purpose of this project.

Setup the project

NOTE: If you have not yet installed react-native, use this link to install and configure react-native. Make sure to use react-native cli rather than using expo cli.

Configure Go-social

  • Clone the project

    git clone https://github.com/scorelab/Go-social.git

  • Change the directory to the project folder

    cd Go-social

  • Install the node modules with the following command

    npm install

Configure the config.example.js file (IMPORTANT)

Open the project in any text editor you use. Open the config.example.js file in the config folder and follow the following steps.

  • Use this link to create a Firebase project for the Go-social application. It is free for everyone. Please use the web app instead of the Android or iOS app.

  • Update the Sign-in method of Firebase project that you want to use as Enabled

  • Create a Firebase Database and Update the Ruleset of the real-time database to Read/Write Allow.

  • Use this link to generate Google Map Api key for the map view in G-social. This is not necessary. You can use the given api key. But it is not guaranteed that the given key will always work. It is better to have your own key. Enable all maps, routes, places in your key.

  • Now you need a Facebook app id if you want to enable Facebook login for Go-social. Use this link for that and make sure to enable both email/password and Facebook sign-in method in Firebase.

So place your Firebase details and Google map API key in config.example.js file and rename it to config.js.

  • To make Google map and Facebook login to work, you have to follow these extra steps.*
  1. Find the file name AndroidManifest.xml which is located in android/app/src/main path. Place your Google map API key in there.

    Ex : <meta-data android:name="com.google.android.geo.API_KEY" android:value="AIzaSyDmwJddIPTcALyZtj7p9mFFlkMvpMkati8"/>

  2. Find the file name as strings.xml located in android/app/src/main/res/values. Place your Facebook app id in there.

    Ex: 2349388348405699

So now you are ready to run Go-social.

Run Go-social

  • Run the app

    npx react-native run-android

    Then enable the remote Js debugging.

go-social's People

Contributors

shehand avatar wathsara avatar depfu[bot] avatar dinithminura avatar danushka96 avatar lahirutech avatar ravindusachintha avatar nickhub4017 avatar yash621 avatar abhikul10 avatar usmailaabdoul avatar kanha-13 avatar charithccmc avatar wdevon99 avatar fazinhan avatar gayashanbc avatar hadhijawahir avatar vivonk avatar thenishantgiri avatar angeryrohan avatar codacy-badger avatar thelukaszns 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.