1.0.3 • Published 5 years ago

rating-frontend v1.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

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

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.