Skip to content

This repository contains a n URL Shortener sample application built with .NET 9 , NET Aspire, PostgreSQL, MediatR

License

Notifications You must be signed in to change notification settings

poorna-soysa/url-shortener-app

Repository files navigation

Url Shortener API with .NET 9, Aspire, PostgreSQL, Hybrid Cache, and Redis

This repository showcases a sample API built with .NET 9 that demonstrates the integration of .NET Aspire orchestration. The application utilizes PostgreSQL as database, and Redis for caching.

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/url-shortener-app.git
  2. Navigate to the project directory
    cd url-shortener-app
  3. Restore dependencies:
    dotnet restore

Architecture Overview

This template follows the Vertical Slice Architecture, which organizes code by features rather than technical concerns. Each feature is self-contained, promoting high cohesion and low coupling.

Features

  • Built with .NET 9: Utilizes the latest features for efficient development.
  • .NET Aspire: Optimized for cloud-native applications.
  • 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 9
  • .NET Aspire
  • PostgreSQL
  • Hybrid Cache
  • 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. Create 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

About

This repository contains a n URL Shortener sample application built with .NET 9 , NET Aspire, PostgreSQL, MediatR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages