Skip to content

Instantly share code, notes, and snippets.

View andreluialves's full-sized avatar

André Alves andreluialves

View GitHub Profile
@andreluialves
andreluialves / CHANGELOG.md
Created May 26, 2023 23:08 — forked from juampynr/CHANGELOG.md
Sample CHANGELOG

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased] - yyyy-mm-dd

Here we write upgrading notes for brands. It's a team effort to make them as

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
@andreluialves
andreluialves / deploy-backend-supabase-heroku.md
Created February 7, 2023 15:52 — forked from luizcalaca/deploy-backend-supabase-heroku.md
Realizando deploy de um app Node.js / Sequelize / Express.js para o Heroku e utilizando o postgreSQL no Supabase

Backend

Configurar o supabase criando um banco de dados

Clicar em Settings -> Database -> Connection Info para ver as informações da conexão

Fazer o git clone do projeto em questão

Mudar o config.js do Sequelize no Backend colocando as variáveis de ambiente.

module.exports = {
@andreluialves
andreluialves / checklist-context.md
Created August 27, 2022 12:19 — forked from ANDREHORMAN1994/checklist-context.md
Checklist do Context API

Checklist do Context API

Vamos começar criando nossos arquivos dentro da pasta src:

  • Criar uma pasta context;
  • Dentro da pasta context vamos criar um arquivo myContext.js;

Dentro do arquivo myContext.js:

  • Importar do react o createContext;

Checklist do react-redux

Instalação/Setup

  • npx create-react-app my-app-redux;
  • npm install --save redux react-redux;
  • npm install.

Antes de começar

  • pensar como será o formato do seu estado global
  • pensar quais actions serão necessárias na sua aplicação
@andreluialves
andreluialves / gist:94f3c666ae25c403859eae3534758949
Created August 15, 2022 00:27 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
/* reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
/* colors */
--green-dark: #036b52;

Checklist do react-redux

Antes de começar

  • pensar como será o formato do seu estado global
  • pensar quais actions serão necessárias na sua aplicação

Instalação

  • npx create-react-app my-app-redux;
  • npm install --save redux react-redux;
  • npm install.
@andreluialves
andreluialves / README.md
Created July 13, 2022 17:26 — forked from luizomf/README.md
VSCode settings.json - keybindings.json - recomendations - extensions.json. Just to backup (visual studio code)

Passos para a criação de uma aplicação usando o Sequelize

  1. Iniciar a aplicação
npm init -y
  1. Instalar o sequelize