Git Product home page Git Product logo

express-with-instagram-private's Introduction

Instagram with Express Publish and Login

Criado para publicar fotos no instagram.

Requeriments

  • NodeJs > 8
  • NPM
  • Browser-refresh (Dev)
  • Pm2 (Production)

Installation

npm install
cp .env.development.example .env

Usage (Dev)

npm start

Usage (Prod)

npm run build

Test links

Routes

Sign-In

request("http://localhost:9028/auth/sign-in", {
  method: "POST",
  json: true,
  body: {
    username: "",
    password: ""
  }
});

Logout

request("http://localhost:9028/auth/logout", {
  method: "POST",
  json: true,
  body: {
    username: ""
  }
});

Perfil do Usuário (Logado)

request("http://localhost:9028/auth/get-profile", {
  method: "POST",
  json: true,
  body: {
    username: ""
  }
});

Verificação de login SMS

request("http://localhost:9028/auth/sign-in/verification/sms", {
  method: "POST",
  json: true,
  body: {
    username: "",
    code: ""
  }
});

Seleção de metodo de verificação

request("http://localhost:9028/auth/sign-in/challenge-select", {
  method: 'POST',
  body: {
    username: ""
  },
  json: true
})

Publicação de Image

request("http://localhost:9028/publish/photo", {
  method: "POST",
  json: true,
  body: {
    username: "",
    file: "", // o arquivo já deve esta no servidor
    caption: "Apenas um teste de postagem"
  }
});

Publicação de Album

request("http://localhost:9028/publish/album", {
  method: "POST",
  body: {
    username: "",
    files: [""], // o arquivo já deve esta no servidor, tem que ser enviado ao menos 2 imagens!
    caption: "Apenas um teste de postagem"
  }
});

express-with-instagram-private's People

Contributors

williamvilasboas avatar dependabot[bot] avatar

Stargazers

Wesley vilas avatar André Luiz Batista avatar  avatar

Watchers

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