Giter VIP home page Giter VIP logo

subscriptify's People

Contributors

antonioedwardsd avatar dacardoso10 avatar fernandocampo avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

antonioedwardsd

subscriptify's Issues

Gema/libss para charts

https://chartkick.com/ + https://github.com/ankane/groupdate

https://www.chartjs.org/ + stimulus

https://stimulus-chartjs.stimulus-components.com/


Approach 1: If you want, you can build the charts using any chart library like chartjs using it with stimulus and passing all the data of your models/controllers to the stimulus controller.

Approach 2: You can use the chartkick gem and everything will be handled like a charm. This gem has a pretty good documentation.
I have used both approaches and it's totally depends on what do you wanna do/ how do you wanna do.
But if you go with the first approach you'll have more control about what is happening and how to customize it if you have a good knowledge about rails/assets/javascript.

UserMailer

para UserMailer
UserMailer.with(user:user).notification_helper

Notificación por email que una suscripcion vence

Ver dominio proppio de email
https://workspace.google.com/pricing?hl=es-419_ar

Ver add on heroku, Mailer To Go
https://elements.heroku.com/addons/mailertogo

How to set email notifications for background jobs on Heroku - VIDEO
https://www.youtube.com/watch?v=z3Op2BKZ4y0

Opciones (ideal que sea facil y funcione con heroku en prod para mandar mails)
Mailtrap
Sendgrip
Postmark
Mailgun

Formas de implementar

  1. Ver guias de Rails Action Mailer y Active Job, en heroku la de scheduler

  2. Sidekiq para procesar en el background, con Action Mailer para mandar los mails. Se puede configurar SMTP con AWS SES

  3. Usar clockwork scheduled-job o una gema similar para correr un query de forma diaria que encuentre las suscripciones por vencer (1 semana antes?) . y despues loopear sobre los records y enviar email usandio postmark

crontab

Cron para envio de email ?
Por ejemplo
Si la fecha de renovacion es el 6 marzo 2024 , que le envie el aviso un dia antes a x hora etc

https://crontab.guru/#0_3___*

Feedback

Todo en espanol o todo en ingles
Burguer al costado
Ver los margins
Fuentes de las letras

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.