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.
This is a simple real-time-style chat app deployed using Azure Static Web Apps, Azure Functions, and Cosmos DB.
COSMOS_ENDPOINT= COSMOS_KEY=
cd api
func init . --worker-runtime node
npm install
func start
npm install
npm start
- Frontend: React (or any static web app), deployed with Azure Static Web Apps
- API: Serverless functions (Node.js) using Azure Functions
- Database: Azure Cosmos DB (SQL API)
my-chat-app/ ├── frontend/ # React app (or static HTML/JS) ├── api/ # Azure Functions (GetMessages / PostMessage) ├── openapi.yaml # (Optional) API definition └── README.md