poorna-soysa/books-api-docker-compose-postgresql-redis
关于
基于 .NET 10 构建的示例 API,用于演示如何使用 Docker Compose 编排容器。应用以 PostgreSQL 作为主数据库,并使用 Redis 进行缓存,为构建可扩展的 Web 服务提供基础。
系统与基础设施可以做什么
- Built with .NET 10: Utilizes the latest features for efficient development.
- Docker Compose: Manages multi-container applications seamlessly.
- PostgreSQL: Powerful relational database for data storage.
- Redis: Caching solution for improved performance.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Book API with .NET 10, Docker Compose, PostgreSQL, and Redis
This repository showcases a sample API built with .NET 10, designed to demonstrate the integration of Docker Compose for container orchestration. The application utilizes PostgreSQL as its primary database and Redis for caching, providing a robust foundation for scalable web Apis.
Table of Contents
Getting Started
To get a local copy up and running, follow these simple steps.
Prerequisites
- .NET 8 SDK
- Docker
Installation
- Clone the repo
git clone https://github.com/poorna-soysa/books-api-docker-compose-postgresql-redis.git - Navigate to the project directory
cd books-api-docker-compose-postgresql-redis - Build and run the application:
docker-compose up --build
Architecture Overview
Features
- Built with .NET 10: Utilizes the latest features for efficient development.
- Docker Compose: Manages multi-container applications seamlessly.
- PostgreSQL: Powerful relational database for data storage.
- Redis: Caching solution for improved performance.
- Health Check: Standardized approach for monitoring and assessing the operational status of systems.
Technologies Used
- .NET 10
- PostgreSQL
- Redis
- EF Core
Contributing
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Creat a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Support
If you find this project helpful, consider buying me a coffee!
探索相关项目
加载中…
