Giter VIP home page Giter VIP logo

noteespebottelegram's Introduction

Progetto NoteEspeBot

L'idea del progetto è di creare un bot telegram per automatizzare l'invio degli espe fatti e delle note ricevute al datore di lavoro. Ogni settimana in un file docx bisogna mettere gli espe fatti e quelli ricevuti. Il bot è usabile da più utenti, identificando l'utente tramite l'username di telegram.

Demo del progetto

Funzionalità

  • Comando "nuovo_espe" : ritorna il markup per la scelta della materia (viene presa dal database di firebase, dalle informazioni dell'utente prende l'anno scolastico), in seguito si può inserire una osservazione
  • Comando "registra_nota" : ritorna il markup per la scelta dell'espe di qui si vuole registrare la nota, in seguito si può inserire la nota ed una ulteriore osservazione
  • Comando "insights" : restituisce una panoramica della settimana corrente degli espe fatti e quelli ricevuti, con le rispettive note
  • Comando "invia_email" : genera il documento word e lo invia sia al datore di lavoro (email fissa)

Database

Come database userò il realtime database di firebase e lo organizzo nel seguente modo:

I dati che non ha ancora inserito l'utente verrano messi a -1. Quando l'utente vorra inserire la nota di un espe che ha ricevuto, su telegram appariranno tutti gli espe che non hanno ancora la nota, e con un click si può aggiungere la nota.

Per ricevere le materie di un utente ho strutturato una collection dove ad ogni anno scolastico corrispondono le materia che l'allievo ha.

Librerie

Hosting e Deploy

Per hostare il mio bot uso una vm di DigitalOcean, come ssh client uso termius. Per il deploy ho pacchetizzato il bot in una immagine di docker, ho fatto il push su docker hub e ho fatto il pull dalla mia virtual machine, per finire ho eseguito la mia immagine.

noteespebottelegram's People

Contributors

thomastopuz avatar

Stargazers

 avatar

Watchers

 avatar

noteespebottelegram's Issues

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.