This project is a simple WebAPI that fetches holidays and cities from a local database. It is designed to provide users with holiday information based on their country. The current version supports fetching holidays and cities in Croatia.
This project is created for learning purposes and serves as my first-ever WebAPI project.
To get started with this project, follow these simple steps:
- Clone the repository to your local machine.
- Open the project in your preferred IDE.
- Configure the local database settings in the
appsettings.json
file. - Run the application.
The API provides the following endpoints:
/holidays
: Retrieves a list of holidays in [your country]./cities
: Retrieves a list of cities in [your country].
You can use this API to retrieve holiday information for your country. Make a GET request to the appropriate endpoint to fetch the desired data. The API will return a JSON response with the relevant information.