Skip to content

This project is a simple chat made by GPT o4-mini-high after a few prompts. The goal of this chat is to be part of an Azure deployment, for learning purposes.

Notifications You must be signed in to change notification settings

MigDinny/chat-on-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat-on-azure

This project is a simple chat made by GPT o4-mini-high after a few prompts.

The goal of this chat is to be part of an Azure deployment, for learning purposes.

💬 Chat App on Azure

This is a simple real-time-style chat app deployed using Azure Static Web Apps, Azure Functions, and Cosmos DB.

How to Run API

Make sure you have these env vars (in local.settings.json)

COSMOS_ENDPOINT= COSMOS_KEY=

Change directory

cd api

Initialize Functions in JS

func init . --worker-runtime node

Install dependencies

npm install

Run the Azure Functions locally

func start

How to Run Frontend

Install dependencies

npm install

Start the dev server

npm start

🚀 Architecture

📁 Project Structure

my-chat-app/ ├── frontend/ # React app (or static HTML/JS) ├── api/ # Azure Functions (GetMessages / PostMessage) ├── openapi.yaml # (Optional) API definition └── README.md

About

This project is a simple chat made by GPT o4-mini-high after a few prompts. The goal of this chat is to be part of an Azure deployment, for learning purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published