Setup email reminders in rails
Go to file
2020-02-12 14:25:41 +01:00
app Add scheduled email feature for reminders 2020-02-12 14:25:41 +01:00
bin Initial commit 2020-02-12 13:02:03 +01:00
config Add scheduled email feature for reminders 2020-02-12 14:25:41 +01:00
db Add reminder feature 2020-02-12 13:57:03 +01:00
lib Initial commit 2020-02-12 13:02:03 +01:00
log Initial commit 2020-02-12 13:02:03 +01:00
public Initial commit 2020-02-12 13:02:03 +01:00
spec Add scheduled email feature for reminders 2020-02-12 14:25:41 +01:00
storage Initial commit 2020-02-12 13:02:03 +01:00
tmp Initial commit 2020-02-12 13:02:03 +01:00
vendor Initial commit 2020-02-12 13:02:03 +01:00
.browserslistrc Initial commit 2020-02-12 13:02:03 +01:00
.gitignore Initial commit 2020-02-12 13:02:03 +01:00
.rspec Setup testing framework 2020-02-12 13:24:22 +01:00
.ruby-version Initial commit 2020-02-12 13:02:03 +01:00
babel.config.js Initial commit 2020-02-12 13:02:03 +01:00
config.ru Initial commit 2020-02-12 13:02:03 +01:00
Gemfile Setup Devise 2020-02-12 13:27:08 +01:00
Gemfile.lock Setup Devise 2020-02-12 13:27:08 +01:00
Guardfile Setup testing framework 2020-02-12 13:24:22 +01:00
package.json Initial commit 2020-02-12 13:02:03 +01:00
postcss.config.js Initial commit 2020-02-12 13:02:03 +01:00
Rakefile Initial commit 2020-02-12 13:02:03 +01:00
README.md Add scheduled email feature for reminders 2020-02-12 14:25:41 +01:00
yarn.lock Initial commit 2020-02-12 13:02:03 +01:00

README

Project Setup

rails db:create db:migrate

Running the tests

rspec

Running app

rails s

System dependencies

  • sendmail

Task

In order to get some insight into your coding style and approach to problem solving, we would like to give you a small programming task for you to solve. You can either upload the project to Github or send it to us via mail. Its not supposed to win any beauty contest either, so it doesnt really matter how the views look, as long as the functionality is there.

Ideally you create an initial commit after the invocation ofrails new, so its easy to blank out the skeleton code.

Here it goes: Sample Task: Scheduled Reminders Description: write an application that sends scheduled reminders to its users.

Functionality:

  • a user can register with email and password
  • after signing in, they see a list of existing reminders and can set up new ones
  • once a month, on a configurable day and time, the application sends them an email with the reminder title and text
  • existing reminders can be deleted from the list Configuration of the reminder:
  • title
  • description / text
  • day and time of month. Should be any possible day of the month. I.e. “1st of month”, “2nd of month”, but also “last of month”, “2nd last month”

Ideally, tests should be in place, too. If you have any questions, feel free to ask.