Skip to content
项目

poorna-soysa/books-api-docker-compose-postgresql-redis

在 GitHub 查看

关于

基于 .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

Installation

  1. Clone the repo
    git clone https://github.com/poorna-soysa/books-api-docker-compose-postgresql-redis.git
    
  2. Navigate to the project directory
    cd books-api-docker-compose-postgresql-redis
    
  3. 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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. 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!

Buy Me a Coffee

探索相关项目

加载中…