Nel dubbio... task forse!
"Task Forse" is an independent project for monitoring of public task forces' activity during COVID-19 emergency in 2020 in Italy: https://www.taskforse.it/.
It's a no-profit and community-driven initiative supported by Ondata and based on a shared database hosted by Google Sheets and Google Form and a web application built on top of NextJS.
The name "Task Forse" is a joke in Italian language: force in English and forse in Italian (maybe in English) sound similar, so in Italy the word task forse suggests some amount of uncertainty in the management of emergency using task forces appointed by the government and local public institutions.
Shared database: 15LmCiYKg2cWzovAiqquhp_lYsaBSuGNau7suUkQddl8.
Sheets:
You can freely access the shared database, download it in all formats supported by Google Sheet and reuse it in agreement with a Creative Commons Attribution (CC-BY) license.
Running instance: https://www.taskforse.it/.
Public repository: https://github.com/ondata/taskforse.it.
Source code is released under a MIT license on Github. Contributions are welcome. Feel free to open issues and submit a pull request at any time!
This application is composed by three services:
The remote database is a simple Google Sheet with public visibility accessed by nextjs application only on server-side.
You can deploy and run the application in a production environment using Docker. A docker-compose.yml
is provided to simplify deploy using Docker Compose utility.
The application is composed by 3 containers based on images hosted by Github Packages: https://github.com/ondata/taskforse.it/packages.
You can simply copy and paste the docker-compose.yml file provided and run docker-compose up
. Then you can open http://localhost:8080
using your favourite browser.
You can set environment variables using a .env
file:
If you want to contribute to the development, you can fork and clone this repository, make your changes and finally send a pull request.
NextJS is a node application, so after cloning you must install dependencies running npm install
.
Main dependencies:
You can start development server with hot reloading running npm run dev
. You can also test the production instance running npm run start
. Then you can open http://localhost:3000
using your favourite browser. Note that reverse proxy and caching are unavailable outside docker containers.
All data are available on a REST API (only GET verb is supported): https://www.taskforse.it/api/v1. There is also an interactive documentation powered by Swagger UI and compliant to OpenAPI Specification v3: https://www.taskforse.it/oas/.
If you want to contribute to the API documentation, you can run Swagger Editor using the docker-compose.yml file in oas/
folder.
Warning: CORS is disabled by default for all origins, if you need to access API from a client-side application feel free to open an issue.
The source code is released under the MIT License.
The database is released under the Creative Commons Attribution License.