From 0318503c4d0649da0eec941486164f6f95df6b87 Mon Sep 17 00:00:00 2001 From: lokeshramchand-ctrl Date: Wed, 13 Aug 2025 08:25:45 +0530 Subject: [PATCH] 13-08 --- AI/requirements.txt | 13 +++++++ Backend/.env | 4 +-- Backend/index.js | 2 +- Frontend/android/app/build.gradle.kts | 7 ++-- .../android/app/src/main/AndroidManifest.xml | 4 +++ Frontend/lib/main.dart | 5 +-- Frontend/lib/other_pages/enviroment.dart | 2 +- Frontend/pubspec.lock | 34 +++++-------------- Frontend/pubspec.yaml | 4 +-- 9 files changed, 37 insertions(+), 38 deletions(-) create mode 100644 AI/requirements.txt diff --git a/AI/requirements.txt b/AI/requirements.txt new file mode 100644 index 0000000..9231ef1 --- /dev/null +++ b/AI/requirements.txt @@ -0,0 +1,13 @@ +blinker==1.9.0 +click==8.2.0 +colorama==0.4.6 +Flask==3.1.1 +itsdangerous==2.2.0 +Jinja2==3.1.6 +joblib==1.5.0 +MarkupSafe==3.0.2 +numpy==2.2.6 +scikit-learn==1.6.1 +scipy==1.15.3 +threadpoolctl==3.6.0 +Werkzeug==3.1.3 diff --git a/Backend/.env b/Backend/.env index 6a1ecba..a77d806 100644 --- a/Backend/.env +++ b/Backend/.env @@ -1,4 +1,4 @@ -MONGO_URI=mongodb://localhost:27017/chat +MONGO_URI=mongodb+srv://velar:Lokesh@1234@cluster0.mplyn1q.mongodb.net/ HOST=0.0.0.0 PORT=3000 -CORS_ORIGIN=http://192.168.1.12:3000 +CORS_ORIGIN=http://192.168.1.100:3000 diff --git a/Backend/index.js b/Backend/index.js index a660bae..0e83134 100644 --- a/Backend/index.js +++ b/Backend/index.js @@ -14,7 +14,7 @@ const predictRoute = require('./predict'); app.use('/api/predict', predictRoute); // MongoDB connection -mongoose.connect('mongodb://localhost:27017/chat', { +mongoose.connect('mongodb+srv://velar:Lokesh%401234@cluster0.mplyn1q.mongodb.net/finance', { useNewUrlParser: true, useUnifiedTopology: true, }); diff --git a/Frontend/android/app/build.gradle.kts b/Frontend/android/app/build.gradle.kts index 0ec856c..e4b26ac 100644 --- a/Frontend/android/app/build.gradle.kts +++ b/Frontend/android/app/build.gradle.kts @@ -20,18 +20,15 @@ android { } defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId = "com.example.monarch" - // You can update the following values to match your application needs. - // For more information, see: https://flutter.dev/to/review-gradle-config. - minSdk = flutter.minSdkVersion + minSdkVersion(23) targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName } buildTypes { - release { + getByName("release") { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig = signingConfigs.getByName("debug") diff --git a/Frontend/android/app/src/main/AndroidManifest.xml b/Frontend/android/app/src/main/AndroidManifest.xml index 5076217..c7b2d0c 100644 --- a/Frontend/android/app/src/main/AndroidManifest.xml +++ b/Frontend/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,9 @@ + + + +