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

Sky Gate Indonesia Development #1

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9f94753
setting up migration
ChristoNP Aug 6, 2024
fa39145
Fetch data from API for Seeding
ChristoNP Aug 6, 2024
825c533
seeding from API done
ChristoNP Aug 6, 2024
f58822f
openAI setup done
ChristoNP Aug 7, 2024
b204ec2
openAI setup done
ChristoNP Aug 7, 2024
6643696
register & login done (not yet implemented google login)
ChristoNP Aug 7, 2024
06f2fcd
error handling for user
ChristoNP Aug 7, 2024
3c0732a
read airport data, pagination, and search feature done
ChristoNP Aug 7, 2024
fc32292
authen & authorize feature | create reviews on airport detail done
ChristoNP Aug 7, 2024
b6c2fe5
delete feature for review done
ChristoNP Aug 7, 2024
4befbbf
ai chatbot feature done
ChristoNP Aug 7, 2024
c48e7f7
initialize google login setup
ChristoNP Aug 7, 2024
4560b36
google sign in done
ChristoNP Aug 7, 2024
1f0d1f4
TDD for login and register done
ChristoNP Aug 7, 2024
252ed1e
testing all feature coverage 80%++
ChristoNP Aug 7, 2024
4a60996
react setup init
ChristoNP Aug 7, 2024
d90b9f1
login page design
ChristoNP Aug 7, 2024
26230af
register page design
ChristoNP Aug 7, 2024
2b6b864
adding components: footer, card, navbar & adding pages: airport list,…
ChristoNP Aug 7, 2024
efff3e1
checkpoint
ChristoNP Aug 7, 2024
c580324
login page setup done
ChristoNP Aug 8, 2024
9dbeb8e
airport data page done
ChristoNP Aug 8, 2024
35ef60a
google sign in done
ChristoNP Aug 8, 2024
73916b5
checkpoint client
ChristoNP Aug 8, 2024
1088540
add reviews
ChristoNP Aug 8, 2024
1b5f3ec
finishing
ChristoNP Aug 9, 2024
e6f7fe3
finishing
ChristoNP 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
4 changes: 4 additions & 0 deletions SkyGate/client/sky-gate-indonesia/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
API_KEY=
OPENAI_API_KEY=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
21 changes: 21 additions & 0 deletions SkyGate/client/sky-gate-indonesia/.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 },
],
},
}
26 changes: 26 additions & 0 deletions SkyGate/client/sky-gate-indonesia/.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 SkyGate/client/sky-gate-indonesia/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
14 changes: 14 additions & 0 deletions SkyGate/client/sky-gate-indonesia/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!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>Sky Gate Indonesia</title>
<script async="" src="https://accounts.google.com/gsi/client"></script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading