A Proxy Server App For Open Weather API

Overview

A proxy server app for open weather api.

It is built using Shelf and shelf_rate_limiter.

This code handles HTTP GET requests to /api.

By default it allows 10 request from single IP in 60 seconds. You can configure that in bin/server.dart file.



Running the sample

Running with the Dart SDK

You can run the example with the Dart SDK like this:

$ dart run bin/server.dart
Server listening on port 8080

And then from a second terminal:

$ curl http://0.0.0.0:8080/api?q=City_Name

You should see the logging printed in the first terminal.



Running with Docker

If you have Docker Desktop installed, you can build and run with the docker command:

$ docker build . -t myserver
$ docker run -it -p 8080:8080 myserver
Server listening on port 8080

And then from a second terminal:

$ curl http://0.0.0.0:8080/api?q=City_Name

You should see the logging printed in the first terminal.

You might also like...

Simple weather app to get weather information.

Simple weather app to get weather information.

⛅ Weather Forecast Simple weather app to get weather information. It fetches the weather for the location in the local database when you launch the ap

Nov 11, 2022

Using weather application and get weather information daily and daily

Using weather application and get weather information daily and daily

Aris Weather Getting Started $ git clone https://github.com/ariscybertech/aris_weather.git $ flutter packages get Run the application and enjoy 🎉 ☺️

Jan 17, 2022

Weather-application - A weather application based on dart programming language

Weather-application - A weather application based on dart programming language

weather based mobile app A new Flutter project with dart programmingg language S

Nov 13, 2022

A weather application that show the current weather for your location and forecast for 6 days, and favorite city and other locations

A weather application that show the current weather for your location and forecast for 6 days, and favorite city and other locations

Weather Application App concept created with Flutter using Dart programming language ad it's a demanded task in my internship at Algoriza About An app

Nov 13, 2022

Nakama is an open-source server designed to power modern games and apps

Nakama is an open-source server designed to power modern games and apps. Features include user accounts, chat, social, matchmaker, realtime multiplayer, and much more.

Dec 30, 2022

GetDoctor is a complete app developed in Flutter, Firebase and Blazor,.Net Core API and SQL Server

GetDoctor is a complete app developed in Flutter, Firebase and Blazor,.Net Core API and SQL Server

GetDoctor 😊 😊 😊 GetDoctor is a complete app developed in Flutter, Firebase and Blazor,DotNet Core API and SQL Server GetDoctor is a complete packag

Dec 19, 2022

An android app built using flutter that displays and forecast the specific city Weather and Climate for dynamic time event by collecting the data from API that is provided for free by OPENWEATHER site.

clima_weather_reporter A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get y

Feb 3, 2022

A basic weather forecast app built using openweathermap API

A basic weather forecast app built using openweathermap API

Forecast A basic weather forecast app built using https://openweathermap.org/api API Features 5 hours forecast Curent forecast 5 days forecast Look up

Nov 29, 2022

WeatherApp - A Weather App using json api And Flutter

WeatherApp - A Weather App using json api And Flutter

Weather App Bu uygulamda json api kullanarak bir WeatherApp yaptım. State Manage

Oct 12, 2022
Owner
Ramyak Mehra
Flutter | GraphQL | Django
Ramyak Mehra
Weather-App-Api- - Simple Realtime Weather App With Api

music_app A new Flutter Weather App project. Getting Started // اول حاجه تعمل en

Youssif El Sayed 5 Nov 11, 2022
It's flutter weather project using "openweathermap(api)" and it just show the one city's weather forecast

flutter_weather A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

vivek kumar 0 Dec 24, 2021
Weather-app - Simple Weather app with light and dark mode

weatherapp Simple Weather app with light and dark mode All licensed code belongs

Shivam Mishra 2 Jul 30, 2022
Weather app A complete simple weather application.

Weather app A complete simple weather application. Getting Started Get your own API key from: open weathe map aqicn Google Cloud Platform Setup for go

Yoad 10 Oct 25, 2022
A sophisticated weather app, works with your location or name of any place. Gives detailed summary of weather condition.

clima_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if thi

Michael Okhaimoh 2 Sep 7, 2022
A weather app that fetches weather data from openweathermap.org

weather_forecast A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Ayodeji Ogundairo 1 Jan 9, 2022
A weather app is one such mobile application that informs the users about the climate conditions, atmospheric predictions, and any updates on the weather.

A weather app is one such mobile application that informs the users about the climate conditions, atmospheric predictions, and any updates on the weather.

Prashant Kumar Singh 9 Dec 3, 2022
A weather app is one such mobile application that informs the users about the climate conditions, atmospheric predictions, and any updates on the weather

Weather_Forecast_Application Our Goal ?? The intention of developing weather app is to fetch the data in the need of taking information about weather

Prashant Kumar Singh 9 Dec 3, 2022
A weather app is one such mobile application that informs the users about the climate conditions, atmospheric predictions, and any updates on the weather

Weather_Forecast_Application Our Goal ?? The intention of developing weather app is to fetch the data in the need of taking information about weather

Prashant Kumar Singh 9 Jun 19, 2022