Giter VIP home page Giter VIP logo

exposure-app's Introduction

Exposure

This is a social media app built using React Native and a GraphQL API. The app allows users to connect with friends, share updates and photos, and engage with others. Requirements

Getting Started

Clone this repo

git clone https://github.com/HelixHEX/exposure-app

Install the required dependencies by running

yarn install

Start the app by running

expo start

Features

  • View user profiles
  • Post photos
  • Like and comment on posts

API Reference

The app connects to a GraphQL API (repo) for performing operations such as querying and mutating data. As of now the endpoint is hardcoded to the public api hosted on AWS. If you would like to change the endpoint, you can do so in this file

Here are some examples of the types of operations that can be performed using the API:

Full list of queries and mutations

Querying data

query Comments($postId: Int!) {
  comments(post_id: $postId) {
    id
    comment
    createdAt
    profile {
      id
      username
    }
  }
}

This query gets all comments for a particular post.

Mutating data

mutation CreateComment($comment: String!, $postId: Int!) {
  createComment(comment: $comment, post_id: $postId) {
    comment {
      comment
    }
  }
}

This mutation creates a new comment for a particular post.

exposure-app's People

Contributors

helixhex 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.