Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy #4

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
34550a2
setting up database & server
ghifaryadinegoro Aug 6, 2024
207f794
add router, controller, & middleware
ghifaryadinegoro Aug 6, 2024
a7cd958
fix seeding, add GeminiAI & add testing user
ghifaryadinegoro Aug 7, 2024
0fdcfe4
fix routing, controller, & testing
ghifaryadinegoro Aug 7, 2024
b772ce7
fix testing
ghifaryadinegoro Aug 7, 2024
b1b4ca6
add client side
ghifaryadinegoro Aug 7, 2024
45536bf
add google login, fix geminiAI & fix testing
ghifaryadinegoro Aug 7, 2024
a9801a5
fix controller & edit card components for homepage
ghifaryadinegoro Aug 7, 2024
6cb241f
fix GET /profile, add GameDetails page, add Profile Page
ghifaryadinegoro Aug 7, 2024
fe87dd6
add feature create & delete favorites
ghifaryadinegoro Aug 7, 2024
b6e83a4
add logout confirmation message
ghifaryadinegoro Aug 7, 2024
7f75834
fix styling & testing
ghifaryadinegoro Aug 8, 2024
685881a
add google login on client
ghifaryadinegoro Aug 8, 2024
55f8255
fix server & client
ghifaryadinegoro Aug 8, 2024
0e6b909
add redux & api docs
ghifaryadinegoro Aug 8, 2024
a9fc089
add favoritesReducer
ghifaryadinegoro Aug 9, 2024
96d1da6
add favoriteRedux
ghifaryadinegoro Aug 9, 2024
eed74a1
Fix .env
ghifaryadinegoro Aug 9, 2024
0dd66bd
Merge pull request #1 from ghifaryadinegoro/development
ghifaryadinegoro Aug 9, 2024
81e8d8e
Deploy client side
ghifaryadinegoro Aug 9, 2024
bdb5b12
Merge pull request #2 from ghifaryadinegoro/development
ghifaryadinegoro Aug 9, 2024
643e56f
fix game image
ghifaryadinegoro Aug 9, 2024
16e16b3
Merge pull request #3 from ghifaryadinegoro/development
ghifaryadinegoro Aug 9, 2024
65ab2a2
fix image & check testing
ghifaryadinegoro Aug 9, 2024
be2d79b
fix register page
ghifaryadinegoro Aug 9, 2024
217049a
Merge pull request #4 from ghifaryadinegoro/development
ghifaryadinegoro Aug 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
535 changes: 534 additions & 1 deletion README.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions client/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VITE_GOOGLE_CLIENT_ID=
VITE_GOOGLE_CLIENT_SECRET=
21 changes: 21 additions & 0 deletions client/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
4 changes: 4 additions & 0 deletions client/.firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
vite.svg,1722312261731,699a02e0e68a579f687d364bbbe7633161244f35af068220aee37b1b33dfb3c7
index.html,1723194425822,24ff12f5ce08e8d46cdeaf55c3cc0ff222b485ed8bb79b7f8288468790205a1f
assets/index-D3rHczgC.css,1723194425822,ad1b6c3f0a97a7987ea6e79290bf3b088b6dd9edf1074b4718e6ec3a4a8d3e96
assets/index-DSHQwXDS.js,1723194425823,a6335c9ac3693acc55d237329e896e2c841f2496b509de5422905c17e624e459
5 changes: 5 additions & 0 deletions client/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "hck-73-ip"
}
}
26 changes: 26 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

.env
8 changes: 8 additions & 0 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
16 changes: 16 additions & 0 deletions client/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
16 changes: 16 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="https://i.ibb.co.com/727tR3X/GAMEDOM-Logo-Black-with-Transparent-Background-900x900.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GameDom</title>

<!-- Script -->
<script src="https://accounts.google.com/gsi/client" async=""></script>
</head>
<body class="bg-black">
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading