Skip to content

Commit

Permalink
Merge pull request #12 from emmanueposu/demuthsa
Browse files Browse the repository at this point in the history
Demuthsa
  • Loading branch information
justinstoner2 authored Apr 28, 2024
2 parents 2946a6f + 8b85abd commit c144ec7
Show file tree
Hide file tree
Showing 12 changed files with 826 additions and 3 deletions.
File renamed without changes.
Binary file modified trivia-forge/backend/__pycache__/config.cpython-310.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion trivia-forge/backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
app = Flask(__name__)

SUPABASE_URL = os.getenv('SUPABASE_URL')
SUPABASE_ANON_KEY = os.getenv('SUPABASE_ANON_KEY')
SUPABASE_KEY = os.getenv('SUPABASE_KEY')

@app.route('/')
def home():
Expand Down
4 changes: 2 additions & 2 deletions trivia-forge/backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ def create_app():
app = Flask(__name__)
config = dotenv_values("./.env")
url: str = config.get('SUPABASE_URL')
#print("url:",url)
# print("url:",url)
key: str = config.get('SUPABASE_KEY')
#print("key:",key)
# print("key:",key)
supabase: Client = create_client(url, key)
app.config['Client'] = supabase
return app
Expand Down
693 changes: 693 additions & 0 deletions trivia-forge/backend/poetry.lock

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions trivia-forge/backend/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[tool.poetry]
name = "backend"
version = "0.1.0"
description = ""
authors = []
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.10"
supabase = "^2.4.3"
flask = "^3.0.3"
python-dotenv = "^1.0.1"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
88 changes: 88 additions & 0 deletions trivia-forge/dist/assets/index-BE7_8Dwe.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions trivia-forge/dist/assets/index-DkrhZ241.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions trivia-forge/dist/assets/react-CHdo91hT.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions trivia-forge/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
<script type="module" crossorigin src="/assets/index-BE7_8Dwe.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DkrhZ241.css">
</head>

<body>
<div id="root"></div>
</body>

</html>
1 change: 1 addition & 0 deletions trivia-forge/dist/vite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions trivia-forge/frontend/src/Pages/HomePage.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from "react";
import { Button, Container, Row, Col} from 'react-bootstrap';

function Home() {
return (
Expand Down

0 comments on commit c144ec7

Please sign in to comment.