Skip to content

Commit

Permalink
Merge pull request #4 from and-ri/add-google-auth
Browse files Browse the repository at this point in the history
Add google auth
  • Loading branch information
and-ri authored Jan 6, 2025
2 parents d70ce2d + 7104ec7 commit fb0d5eb
Show file tree
Hide file tree
Showing 7 changed files with 1,286 additions and 30 deletions.
8 changes: 7 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Database
DB_HOST="localhost"
DB_USER="root"
DB_PASS=""
DB_NAME="database"
DB_PORT="3306"
DB_PREFIX="prefix_"
DB_PREFIX="prefix_"

# Google API Key
GOOGLE_AUTH_CLIENT_ID=""
GOOGLE_AUTH_CLIENT_SECRET=""
GOOGLE_AUTH_REDIRECT_URI=""
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
- **app.php**: Manages the application lifecycle, including initialization and configuration.
- **db.php**: Provides methods for database queries and connection handling.
- **env.php**: Handles environment variables and configuration settings.
- **google_auth.php**: This file handles the Google authentication process for the application.
- **language.php**: Loads and manages language files for multi-language support.
- **load.php**: Loads models and controllers dynamically.
- **pagination.php**: Provides simple pagination functionality.
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"license": "MIT",
"require": {
"twig/twig": "^3.9",
"vlucas/phpdotenv": "^5.6"
"vlucas/phpdotenv": "^5.6",
"google/apiclient": "^2.0"
},
"config": {
"vendor-dir": "core/vendor"
Expand Down
Loading

0 comments on commit fb0d5eb

Please sign in to comment.