Socket
Socket
Sign inDemoInstall

rating-frontend

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rating-frontend

[![Maintainability](https://api.codeclimate.com/v1/badges/315fa80d61362b89c888/maintainability)](https://codeclimate.com/repos/5d5d99c276d63525ad00aaa2/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/315fa80d61362b89c888/test_cove


Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

Projeto Avaliacao 2.0

Maintainability Test Coverage

Notion

Ambientes

Endpoint de consulta de e save dos dadospros: (mesmo banco, só muda o endpoint)

Bucket de Testes

Bucket Produção (root)

Deploy

  • Precisa criar local um arquivo .env com as seguintes variáveis REACT_APP_AIRBRAKE_PROJECT_ID=XXXXX REACT_APP_AIRBRAKE_PROJECT_KEY=XXXXXX
  • Rodar comando npm run build
  • Copiar os arquivos gerados para a raiz do bucket https://s3.console.aws.amazon.com/s3/buckets/pros.getninjas.com.br/?region=us-east-1&tab=overview
  • Lembrar de marcar os arquivos como Public

Templates de Email

Feature Flag via Flipper

Listagem de PROS

  • query/execute
`{
  request(id: ##) {
    leads {
      profile {
      databaseId
      user {
        name
      }
      cellphone {
        numberFormatted
      }
      }
    }
  }
}`

Salvar dados da avaliacao

  • survey/create
{
  "request_id": "8056399",
  "topics": [
    {
      "id": 0,
      "answer": 1111770
    },
    {
      "id": 1,
      "answer": "sim"
    },
    {
      "id": 2,
      "answer": "gostei"
    },
    {
      "id": 3,
      "answer": "gostei"
    },
    {
      "id": 4,
      "answer": "gostei"
    },
    {
      "id": 5,
      "answer": "incrivel"
    },
    {
      "id": 6,
      "answer": "Foi muito legal"
    },
    {
      "id": 7,
      "answer": "Vou usar sempre!"
    },
    {
      "id": 8,
      "answer": "dasasdsada"
    }
  ]
}

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

This project was bootstrapped with Create React App.

FAQs

Package last updated on 30 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc