{"id":24344858,"url":"https://github.com/rez0an/nutrinavigator","last_synced_at":"2026-04-06T01:35:46.151Z","repository":{"id":271776307,"uuid":"787025086","full_name":"REZ0AN/NutriNavigator","owner":"REZ0AN","description":"NutriNavigator is not just a nutritional recommendation system; it's also an e-commerce platform offering organic food products.  Now working to dockerize it then host on azure or aws .","archived":false,"fork":false,"pushed_at":"2024-04-15T18:45:21.000Z","size":22707,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T14:22:08.873Z","etag":null,"topics":["expressjs","food-recommendations","forget-password","jwt-authentication","machine-learning","mern-project","mongodb","nodejs","nodemailer-smtp-transport","random-forest-classifier","reactjs","redux","redux-thunk","reset-password-email","role-based-authorization","stripe-payment-gateway"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/REZ0AN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-15T18:42:41.000Z","updated_at":"2024-04-15T18:52:52.000Z","dependencies_parsed_at":"2025-01-09T20:39:21.865Z","dependency_job_id":null,"html_url":"https://github.com/REZ0AN/NutriNavigator","commit_stats":null,"previous_names":["rez0an/nutrinavigator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/REZ0AN/NutriNavigator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REZ0AN%2FNutriNavigator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REZ0AN%2FNutriNavigator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REZ0AN%2FNutriNavigator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REZ0AN%2FNutriNavigator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/REZ0AN","download_url":"https://codeload.github.com/REZ0AN/NutriNavigator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REZ0AN%2FNutriNavigator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31456662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expressjs","food-recommendations","forget-password","jwt-authentication","machine-learning","mern-project","mongodb","nodejs","nodemailer-smtp-transport","random-forest-classifier","reactjs","redux","redux-thunk","reset-password-email","role-based-authorization","stripe-payment-gateway"],"created_at":"2025-01-18T09:56:21.574Z","updated_at":"2026-04-06T01:35:46.130Z","avatar_url":"https://github.com/REZ0AN.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NutriNavigator\n\nNutriNavigator is a project aimed at providing nutritional recommendations by taking users `age` `height` `weight` `disease` they have, with  full `e-commerce` features . This `README` will guide you through setting up the project locally.\n\n## Setting Up Environment Variables\n\nDevelopers must create a `config.env` file inside `/backend/config/` directory with the following environment variables:\n```\nPORT=your_preferred_port\nMONGODB_URI=\"mongodb_database_url\"\nSALT=length_of_generated_salt\nJWT_SECRET=\"random_string\"\nJWT_EXPIRE=\"jwt_token_expired_day\"\nCOOKIE_EXPIRE=cookie_expire_day\nSMTP_SERVICE=\"gmail\"\nSMTP_PASS=\"a_random_string_given_by_gmail\"\nSMTP_MAIL=\"your_mail_in_which_you_have_app_permission\"\nSTRIPE_API_KEY=api_key_goes_here\nSTRIPE_SECRET_KEY=secret_key_goes_here\nSMTP_HOST=\"smtp.gmail.com\"\nSMTP_PORT=465\nCLOUDINARY_NAME=cloudinary_given_name\nCLOUDINARY_API=your_identity_key\nCLOUDINARY_API_SECRET=secret_key_goes_here\nFRONT_END_URI=localhost:3000\n```\n\n## Installing Packages\n\n### Node Server\n\nNavigate to the root folder of `NutriNavigator` in your terminal and execute:\n\n```\nnpm i\n```\n\n### ReactJS App\n\nNavigate to `NutriNavigator/frontend` folder and execute:\n\n```\nnpm i\n```\n\nIgnore any warnings during installation.\n\n### Flask Server\n\nNavigate to `/NutriNavigator/mlServer` folder in your terminal.\n\nCreate a folder using the command:\n\n```\nmkdir models\n```\n\nThen install the required Python packages listed in `requirements.txt`:\n\n```\npip install -r requirements.txt\n```\n\n## Recommender System Model Build\nAfter installing the required packages. Navigate to `/NutriNavigator/mlServer` folder in terminal.\n### Create folder called `models`\nInside the `/NutriNavigator/mlServer` folder create a folder `models` to store the trained model on our `food_recommendation` dataset.\nexecute :\n```\nmkdir models\n```\nAfter creating the folder `models` then run the file `food_recommender.py` by below command :\n### for windows\n```\npython food_recommender.py\n```\n### for linux (with installed python version 3.X)\n```\npython3 food_recommender.py\n```\nAfter running the `food_recommender.py` check in the created `models` folder, a file may be created called `model_pickle`. Just check this out.\n\n## Running the Servers \nAfter doing previous steps successfully, we are going to run our `NutriNavigator` web application.\n\n\n\n### Node Server\n\nNavigate to the root folder and execute:\n\n```\nnpm run dev\n```\n\n### Python Flask Server\n\nNavigate to `/NutriNavigator/mlServer` folder and execute:\n\n#### For Windows:\n\n```\npython server.py\n```\n#### for linux (with installed python version 3.X)\n\n```\npython3 server.py\n```\n\n### Running the ReactJS App\n\nNavigate to `/NutriNavigator/frontend` folder and execute:\n\n```\nnpm start\n```\n\n## Accessing NutriNavigator\n\nAfter successfully running the servers, you can access the NutriNavigator web application at `http://localhost:\"your_given_port\"`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frez0an%2Fnutrinavigator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frez0an%2Fnutrinavigator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frez0an%2Fnutrinavigator/lists"}