Coder Social home page Coder Social logo

nilportugues / react-native-instagram-clone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stelmakhivan/react-native-instagram-clone

0.0 2.0 0.0 8.29 MB

Instagram Clone (light version) — Graphql + React (ios, android, web)

JavaScript 99.50% HTML 0.50%

react-native-instagram-clone's Introduction

react-native-instagram-clone

Instagram Clone — Express + React Native

Run project locally

  1. Add file .env into server folder with config
PORT=YOUR_PORT
GOOGLE_ACCOUNT="YOUR_GOOGLE_ACCOUNT"
SENDGRID_API_KEY="YOUR_SENDGRID_API_KEY"
JWT_SECRET="YOUR_JWT_SECRET"
PRISMA_ENDPOINT=YOUR_PRISMA_ENDPOINT
  1. Install all dependencies with npm install or yarn in root, client and instaclone-app folders

  2. Configure your prisma account; in root directory put prisma.yml

endpoint: YOUR_ENDPOINT
datamodel: datamodel.prisma

generate:
  - generator: javascript-client
    output: ./generated/prisma-client/
  1. Install globally nodemon, prisma and expo-cli packages

  2. Run yarn prisma

  3. Install node_modules in client folder

  4. Run yarn serve:web for web or yarn serve:app for mobile (you can also run yarn serve if you want to view all platforms)

  5. If you want to upload images - you need to sign in Amason Web Services (I used free trial aws account and S3 bucket) and put your settings to .env like

....
AWS_KEY="YOUT_AWS_KEY"
AWS_SECRET="YOUR_AWS_SECRET"
AWS_BUCKET_NAME="YOUR_AWS_BUCKET_NAME"

Preview Preview

Graphql resolvers

  • Create an account
  • Request Secret
  • Confirm Secret (Log In)
  • Like / Unlike the photo
  • Comment on a photo
  • Search by user
  • Search by location
  • Follow / Unfollow User
  • Edit my profile
  • See user profile
  • See my profile
  • See the full photo
  • Upload a photo
  • Edit the photo (Delete)
  • See the feed
  • Send private Mesage
  • See rooms
  • See room
  • Receive Meesage (Realtime)

react-native-instagram-clone's People

Contributors

stelmakhivan avatar dependabot[bot] avatar

Watchers

James Cloos avatar  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.