-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from abhixsh/master
added new changes with readme file
- Loading branch information
Showing
6 changed files
with
118 additions
and
28 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
.github/workflows/azure-static-web-apps-ashy-island-0ed3b1600.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.