Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

coiti/assignment

Open more actions menu

Repository files navigation

Rails Developer Assignment

Allows the admin to post comments on behalf of the users they themselves control. Kind of like The Sims version of Twitter.

Requirements

  • Ruby 3.1
  • PostgreSQL
  • Redis

Initialize

git clone https://github.com/coiti/assignment.git
cd assignment
bundle install
bin/rails db:create db:migrate

Start the app with:

bin/dev

Start the scheduler and worker:

bin/rake rescue:worker
bin/rake resque:scheduler

To start things up, create a bunch of fake users:

bin/rake users:seed[100]

Usage

Go to the main page and post a comment:

http://localhost:3000/

To mention someone, type @ in the text box, and then begin typing their name.

A suggestion box will appear with users that you can mention.

Users will be notified for every new comment that mentions them, every hour, via their email address.

About

Rails Developer Assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.