Bookshare app server.
- Ruby >= 2.6
- Node, yarn
- PostgreSQL
- Redis
PostgreSQL:
brew install postgresql
brew services start postgresql
createuser --createdb bookshare
Redis:
brew install redis
brew services start redis
redis-cli ping
bundle
bundle exec rails db:setup
bundle exec rails db:migrate
bundle exec rails s
or
foreman start
Run rspec tests:
rspec
Run rubocop:
rubocop
or:
guard
- Refine sidekiq
- Caching queries
- API: search
- Remove unused code
- Rspec test cover
- CI enabled
- Backup database
- Use Pundit instead of cancancan
- Limits creating sharing
- Validates models, rspec models
- Tailwind css