Skip to content

Commit

Permalink
figuered out why I was not able to send information to my db I had my…
Browse files Browse the repository at this point in the history
… frontend and backend folder in a loop because one was trying to send to the front and the other was trying to send to the back and also the db
  • Loading branch information
rbrandon087 committed May 8, 2024
1 parent 463f54c commit 8f970a0
Show file tree
Hide file tree
Showing 1,522 changed files with 191,955 additions and 506 deletions.
4 changes: 2 additions & 2 deletions client/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REACT_APP_SUPABASE_URL=https://gyqokfxydvyydsntgdkz.supabase.co
REACT_APP_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imd5cW9rZnh5ZHZ5eWRzbnRnZGt6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTQ4NTQ2OTIsImV4cCI6MjAzMDQzMDY5Mn0.2r2DgF9TgvRi1jE_WwI5bhAwzjC5qJFHU7xsW5hDuiQ
REACT_APP_SUPABASE_URL=https://bpdtqdfcowkmxdgyphxb.supabase.co
REACT_APP_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImJwZHRxZGZjb3drbXhkZ3lwaHhiIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTUxNDMwNjksImV4cCI6MjAzMDcxOTA2OX0.aOMbgsePHBmeC02WkSgxSFjVpW838gNX_Wn3NjplwIs
1 change: 1 addition & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# misc
.DS_Store
.env.local
.env
.env.development.local
.env.test.local
.env.production.local
Expand Down
2 changes: 1 addition & 1 deletion client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
Expand Down
8 changes: 8 additions & 0 deletions client/src/config/supabaseClient.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { createClient } from "@supabase/supabase-js";

const supabaseUrl = process.env.REACT_APP_SUPABASE_URL;
const supabaseKey = process.env.REACT_APP_SUPABASE_KEY;

const supabase = createClient(supabaseUrl, supabaseKey);

export default supabase;
328 changes: 0 additions & 328 deletions client/src/pages/Hello.tsx

This file was deleted.

2 changes: 2 additions & 0 deletions server/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REACT_APP_SUPABASE_URL=https://bpdtqdfcowkmxdgyphxb.supabase.co
REACT_APP_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImJwZHRxZGZjb3drbXhkZ3lwaHhiIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTUxNDMwNjksImV4cCI6MjAzMDcxOTA2OX0.aOMbgsePHBmeC02WkSgxSFjVpW838gNX_Wn3NjplwIs
Loading

0 comments on commit 8f970a0

Please sign in to comment.