- Users must be able to create an account providing a valid email address.
- Once logged in users must be able to send and receive messages.
- It has only one channel/room and all the users subscribed will have access to the only available channel
The system sends to all the users a weekly emails:
- how many messages were sent and received in the last week
- the total number of messages received since the user has sent his last message
- Install ruby 2.7.1
gem install bundler
bundle install
cp .env .env.development
- Add necessary variables to
.env.development
file bundle exec rails db:create RAILS_ENV=development
rails server
You need to run 3 processes
rails server
./bin/webpack-dev-server
bundle exec sidekiq
- postgresql
- redis
- mailcatcher
cp .env .env.test
- Add necessary variables to
.env.test
file
bundle exec rspec
bundle exec rubocop