alonbee / react-native-feed

News feed built with react-native, apollo-client and graphql & powered by postgraphql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React-native Feed

An experimental feed app built with react-native.

Screenshot

Screenshot

Getting Started

These instructions will get you up and running.๐Ÿƒ

Prerequisites

You'll need a running๐Ÿƒ postgresql database Check this awesome guide

Installing

Create the database

createdb feed
psql feed < database.sql

Install everything. (You should try yarn)

npm install -g postgraphql
npm install

Ruuun : ๐Ÿƒ๐Ÿƒ๐Ÿƒ

postgraphql -c postgres://localhost:5432/feed --watch
react-native run-ios
#or
react-native run-android

Image upload won't work out of the box (the body parser of the node.js server has a default size limit of 100kb), you'll need to change that:

  • Find where postgraphql was installed :
npm bin -g
cd to the given location
#you'll find a symlink to postgraphql
cd to the original folder

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

News feed built with react-native, apollo-client and graphql & powered by postgraphql

License:MIT License


Languages

Language:JavaScript 78.9%Language:Objective-C 12.5%Language:Python 4.7%Language:Java 4.0%