Giter Site home page Giter Site logo

divyhshah / covid19-daily-newsletter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from edoriggio/covid19-daily-newsletter

0.0 0.0 0.0 26.66 MB

Daily email to keep track of the spread of COVID-19

License: Apache License 2.0

HTML 16.92% CSS 16.61% JavaScript 27.77% Python 38.70%

covid19-daily-newsletter's Introduction

CDN Logo

Inspiration

In a period as delicate as the one we are living in right now, being able to have the correct information is of fundamental importance. This is why we decided to create this project. We want to bring data and information to the user, not make them to look through the whole internet, just to find that tiny piece of information he needs to know.

What it does

Users can subscribe to the newsletter through a webpage. Here they are requested to input their email address and by clicking on the next field, an overlay appears prompting them to choose which country to receive data and news of. The countries selected can be more than one, and there is also the possibility to choose "World" - to receive data and news about Covid-19 from around the world.

Once the user has completed the signup process, his job is done. Every day, at around 6pm, an email will be sent automatically to his inbox. The email will contain data regarding the spread of Covid-19 in the selected country with the aid of graphs, and link to the most recent news articles (which we plan to implement in the near future).

Technologies used

For this project we used a variety of different technologies as well as some open source software.

  • To create the logo and the design of the project we used Figma

  • For the website we used Node.js to share the data given by the user input

  • To manage the members list (sort of the backend part of this project) we used Mailchimp's API

  • For the automatic mail creation and sent we used Python 3.8

  • For the data we used sagarkarira's coronavirus tracker CLI

  • For the generation of the graphs we used Plotly

  • For the email SMTP server we used Sendinblue

Challenges we ran into

Making this project was more difficult than we planned. The major issues we encountered when developing it were:

  • Trying to connect the project to Mailchimp's API to send and request members lists (mainly in the website part of the project)

  • Generating custom HTML code based on the users' country choices

  • Find an easy and fast solution to were to save the members list (which we fortunately found in Mailchimp)

How to use

Website

Copy env.sample to .env and maintain correct values in it

npm install
npm run dev

And navigate to localhost:5000 on your browser

Newsletter send

To test the newletter, go to main.py and run the script. Now check your inbox!

Screenshots

screenshot 1 Subsription webpage

screenshot 2 Choose the countries for which recieve info of

screenshot 3 Sample of an email


This project was made for the #codevscovid19 hackathon

Buy me a coffee

covid19-daily-newsletter's People

Contributors

dependabot[bot] avatar edoriggio avatar kmjayadeep avatar luca-de-felice avatar neeraj-2 avatar neeraj029 avatar ompatelok avatar souravdutta1998 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.