This repository contains the code for an Azure Function App written in C# that serves as an API for retail store solutions. The API is designed to interact with Azure Cosmos DB and provides endpoints for managing products and items within the retail store.
- Products Endpoint: Allows you to create, retrieve, update, and delete product information.
- Items Endpoint: Provides functionalities for managing items associated with products.
- Azure Cosmos DB Integration: The API leverages Azure Cosmos DB as the backend database for seamless data storage and retrieval.
- Scalable and Serverless: Built using Azure Functions, the API is highly scalable and serverless, making it cost-effective and easy to manage.
Before you begin, ensure you have the following prerequisites:
-
Clone this repository:
git clone https://github.com/PtPrashantTripathi/AzureFunctionApp_API
-
Set up your Azure Cosmos DB and obtain the connection string.
-
Configure your Azure Functions application settings, including the Cosmos DB connection string and other required configurations.
-
Build and deploy the Azure Function App to your Azure subscription.
-
Access the API endpoints for managing products and items:
- Products:
https://your-app-url/api/products
- Items:
https://your-app-url/api/items
- Products:
The API documentation and usage instructions can be found in the Wiki section of this repository.
We welcome contributions from the community. If you have suggestions, bug reports, or feature requests, please open an issue or submit a pull request.
This project is licensed under the MIT License.