Skip to content

Develop a FastAPI backend and React frontend application, meticulously engineered for effortless deployment in an AKS environment, utilizing Infrastructure as Code principles with Bicep.

Notifications You must be signed in to change notification settings

diamadiskon/dk_fast_react_propel

Repository files navigation

Health Monitoring Application

Project Logo

Table of Contents

Introduction

This project is a health monitoring application that allows users to input and visualize their health data. The data is stored in a CosmosDB database and can be accessed securely. The application uses FastAPI for the backend and React for the frontend, providing a user-friendly interface for health data management.

App Screenshot

Project Overview

The project aims to:

  • Enable users to input and monitor their health data.
  • Provide data visualization through charts and graphs.
  • Ensure secure data storage and access.
  • Implement user authentication and authorization.
  • Dockerize the application for easy deployment.
  • Automate the build and deployment process using Azure Pipelines.

Features

  • User registration and login.
  • Input and management of health data.
  • Real-time data visualization with charts.
  • User roles: regular users and household admins.
  • Data security and compliance.
  • Automated build, test, and deployment using Azure Pipelines.

Technologies

  • Frontend: React
  • Backend: FastAPI
  • Database: DynamoDB
  • Data Generation: Faker library
  • Authentication and Authorization: Propel Auth
  • Containerization: Docker
  • Continuous Integration and Deployment: Azure Pipelines

Getting Started

Prerequisites

  • Azure CosmosDB
  • Azure DevOps account for Azure Pipelines.
  • Docker for containerization.
  • Node.js for React frontend.
  • Python for FastAPI backend.

Installation locally

  1. Clone the repository:

    git clone https://github.com/diamadiskon/dk_fast_react_propel.git
    
  2. cd dk_fast_react_propel

  3. Open localhost:3000 in your browser.

Azure IaC for Infrastructure Provisioning

Azure IaC for Infrastructure Provisioning

# Log in to Azure
az login

# Set the subscription
az account set --subscription <subscription_id>

# What-If deployment
az deployment sub what-if --subscription <subscription_id> --template-file bicep/azure.deploy.bicep --location [location] --parameters bicep/azure.deploy.parameters.json

# Validate deployment
az deployment sub validate --subscription <subscription_id> --template-file bicep/azure.deploy.bicep --location [location] --parameters bicep/azure.deploy.parameters.json

# Create deployment
az deployment sub create --subscription <subscription_id> --template-file bicep/azure.deploy.bicep --location [location] --parameters bicep/azure.deploy.parameters.json

About

Develop a FastAPI backend and React frontend application, meticulously engineered for effortless deployment in an AKS environment, utilizing Infrastructure as Code principles with Bicep.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published