Skip to content

Commit

Permalink
Merge pull request #1 from abhixsh/master
Browse files Browse the repository at this point in the history
added new changes with readme file
  • Loading branch information
chaminipalliyaguru authored Nov 25, 2024
2 parents 6ce3524 + 13cce74 commit 0521258
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 28 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/azure-static-web-apps-ashy-island-0ed3b1600.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Azure Static Web Apps CI/CD

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- master

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v3
with:
submodules: true
lfs: false
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ASHY_ISLAND_0ED3B1600 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: "" # Api source code path - optional
output_location: "build" # Built app content directory - optional
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ASHY_ISLAND_0ED3B1600 }}
action: "close"
100 changes: 72 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,91 @@
# NutriCare

NutriCare is an innovative web application designed to suggest recipes related to a user's illness. Leveraging the power of AI, NutriCare offers solutions to health problems and provides insights into maintaining a healthy lifestyle.
NutriCare is an innovative web application designed to suggest personalized recipes based on specific health conditions. By leveraging AI technology, NutriCare helps users make better dietary choices and manage health concerns while promoting a balanced lifestyle. The platform also offers helpful resources like educational articles and a directory of healthcare professionals.

## Features
1. Health Condition Filters
2. Allergen Detection
3. Educational Resources
4. Doctor Profiles

- **Health Condition Filters**: Tailored recipes based on user-reported illnesses.
- **Allergen Detection**: Identifies and avoids allergens in suggested recipes.
- **Educational Resources**: A variety of health-related articles to expand user knowledge.
- **Doctor Profiles**: A directory of healthcare providers with contact information and specialties.

## Live Demo

Experience NutriCare live!
👉 [Live Demo Link](https://ashy-island-0ed3b1600.5.azurestaticapps.net/)

## Technology Stack

- **Frontend:** React, Tailwind CSS
- **Backend:** Node.js, Express
- **Database:** MongoDB
- **AI Integration:** Azure OpenAI
- **Hosting:** Azure
- **Frontend**: ReactJS & TailwindCSS
- **Backend**: Node.js & Express.js
- **Database**: MongoDB
- **AI Integration**: Azure OpenAI
- **Hosting**: Azure Web App, Docker
- **Containerization & CI/CD**: Azure Container Registry, Azure DevOps

## Backend Repository

For more details on the backend, check out the repository:
👉 [Backend Repository Link](https://github.com/abhixsh/NutriCare_be)

## Screenshots

Here are a few screenshots of NutriCare in action:

![Landing](img/landing.jpeg)
![Digram](img/dig.jpeg)
![Azure](img/azure.jpeg)
![AzureDevops](img/devops.jpeg)
## Running Locally

To run NutriCare locally, follow these steps:

1. **Clone the repository:**
```bash
git clone https://github.com/yourusername/NutriCare-Frontend.git
cd NutriCare-Frontend
```
### Clone the repositories:

**Frontend:**
```bash
git clone https://github.com/yourusername/NutriCare-Frontend.git
cd NutriCare-Frontend
```

**Backend:**
```bash
git clone https://github.com/yourusername/NutriCare-Backend.git
cd NutriCare-Backend
```

### Install dependencies for both frontend and backend:

**Frontend:**
```bash
cd NutriCare-Frontend
npm install
```

2. **Install dependencies:**
```bash
npm install
```
**Backend:**
```bash
cd NutriCare-Backend
npm install
```

3. **Start the development server:**
```bash
npm start
```
### Start the development servers:

4. **Open your browser and navigate to:**
```
http://localhost:3000
```
**Frontend:**
```bash
cd NutriCare-Frontend
npm start
```

Make sure you have Node.js and npm installed on your machine before running these commands.
**Backend:**
```bash
cd NutriCare-Backend
npm start
```

### Open your browser and navigate to:

```bash
http://localhost:3000
```

Make sure you have Node.js and npm installed on your machine before running these commands.
Binary file added img/azure.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/devops.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/dig.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/landing.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0521258

Please sign in to comment.