Sign inSign up

nager/nager-date

By nager

•Updated 3 days ago

Public Holiday Api | https://github.com/nager/Nager.Date

Image
2

500K+

nager/nager-date repository overview

⁠Nager.Date

Nager.Date is a simple, lightweight, and scalable open-source solution to query public holidays for over 200 countries.

The project provides a REST interface to retrieve the data. This Docker container provides a web api with a web interface that allows you to query the holidays.

ā šŸš€ Quick Start

docker run -p 8080:8080 -e LICENSE_KEY=YOUR_LICENSE_KEY nager/nager-date

Once running, access the Web Interface at: šŸ‘‰ http://localhost:8080


ā šŸ› ļø Configuration & Environment Variables

VariableDescriptionRequiredDefault
LICENSE_KEYYour Nager.Date license key to authenticate API usage.Yes—
ASPNETCORE_ENVIRONMENTSet runtime environment (e.g., Production, Development).NoProduction

⁠🐳 Docker Compose Example

Easily spin up the service using docker-compose.yml:

services:
  nager-date:
    image: nager/nager-date:latest
    container_name: nager-date
    ports:
      - "8080:8080"
    environment:
      - LICENSE_KEY=YOUR_LICENSE_KEY
    restart: unless-stopped


ā šŸ’” Key Features

  • šŸŒŽ Global Coverage: Support for over 200 countries and regions.
  • šŸš€ High Performance: Built with C# / .NET for fast response times.
  • šŸ“– Interactive Docs: Includes OpenAPI documentation out of the box.
  • šŸ› ļø Seamless Integration: Easy to run as a microservice or standalone holiday service.

Tag summary

Content type

Image

Digest

sha256:4e7ca3939…

Size

68.8 MB

Last updated

3 days ago

docker pull nager/nager-date