diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..6163ceb --- /dev/null +++ b/.env.example @@ -0,0 +1,9 @@ +# JWT Configuration +JWT_SECRET_KEY=your-secret-key-here +JWT_TOKEN_EXPIRY=3600 # 1 hour in seconds + +# Database Configuration +DB_HOST=localhost +DB_NAME=your_database_name +DB_USER=your_database_user +DB_PASS=your_database_password \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0c93eb8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +# Environment variables +.env +.env.local +.env.*.local + +# IDE files +.idea/ +.vscode/ + +# OS generated files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db \ No newline at end of file diff --git a/.idea/Ecobuddy.iml b/.idea/Ecobuddy.iml index c956989..cc414eb 100755 --- a/.idea/Ecobuddy.iml +++ b/.idea/Ecobuddy.iml @@ -4,5 +4,6 @@ + \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 6ae98ec..429fde7 100755 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -1,11 +1,18 @@ - + sqlite.xerial true org.sqlite.JDBC - jdbc:sqlite:$PROJECT_DIR$/Databases/ecobuddy.sqlite + jdbc:sqlite:Databases/ecobuddynew.sqlite + $ProjectFileDir$ + + + sqlite.xerial + true + org.sqlite.JDBC + jdbc:sqlite:$PROJECT_DIR$/Databases/ecobuddynew.sqlite $ProjectFileDir$ @@ -14,13 +21,19 @@ file://$APPLICATION_CONFIG_DIR$/jdbc-drivers/Xerial SQLiteJDBC/3.45.1/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar + + file://$APPLICATION_CONFIG_DIR$/jdbc-drivers/Xerial SQLiteJDBC/3.45.1/org/xerial/sqlite-jdbc/3.45.1.0/sqlite-jdbc-3.45.1.0.jar + + + file://$APPLICATION_CONFIG_DIR$/jdbc-drivers/Xerial SQLiteJDBC/3.45.1/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar + - + sqlite.xerial true org.sqlite.JDBC - jdbc:sqlite:Databases/ecobuddynew.sqlite + jdbc:sqlite:Databases/ecobuddy.sqlite $ProjectFileDir$ diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml index 9f737c1..854b2bb 100755 --- a/.idea/jsLibraryMappings.xml +++ b/.idea/jsLibraryMappings.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml index 0a7086f..e84699f 100755 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -10,7 +10,7 @@