jszafran / eurostat-weekly-deaths-api Goto Github PK
View Code? Open in Web Editor NEWApplication fetching weekly deaths data from Eurostat and exposing it via simple HTTP API (written in Golang).
License: MIT License
Application fetching weekly deaths data from Eurostat and exposing it via simple HTTP API (written in Golang).
License: MIT License
Add endpoint with some metadata:
Move db pool to either global var in main or use dependency injection.
Make a function to leave only X latest snapshots
Add a condition to filter out erroneous data (i.e. week=99). According to https://en.wikipedia.org/wiki/ISO_week_date, year contain either 52 or 53 weeks.
To make the start of the application quicker
Snapshot manager should be able to:
Add some sanity checks when building database to ensure that there are no missing labels for data fetched from Eurostat.
Add more meaningful error messages.
Move all backend Go code to separate directory and make sure that all references are updated.
To fix frontend after recent deployment
Add a simple frontend that would present the data on line charts.
Initial deploy to fly.io failed due to process being killed by OOM (out of memory) error. Reduce the usage (while still storing data in memory instead of database) so it can be deployed to fly.io with success.
Add code for dropping and creating a new index on weekly_deaths table and the columns used in query (country, age, gender, year).
Create a pipeline to deploy app to fly.io.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.