Skip to content

Instantly share code, notes, and snippets.

@luizcalaca
Created July 25, 2022 00:40
Show Gist options
  • Select an option

  • Save luizcalaca/a041b0e4804bb93ce7579d97eb70d71b to your computer and use it in GitHub Desktop.

Select an option

Save luizcalaca/a041b0e4804bb93ce7579d97eb70d71b to your computer and use it in GitHub Desktop.

Frontend

Colocar a variável de ambiente no API_ENDPOINT no arquivo App.js do frontend

const API_ENDPOINT = 'https://backend-supabase.herokuapp.com/users';

Criação do app no heroku

heroku apps:create --app frontend-supabase

Fazer o Deploy

git push heroku main

Desabilitar regra do Eslint

    "rules": {
        "react/jsx-curly-spacing": "off"
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment