bookshare

An opensource bookcrossing app.

Stars
6

Bookshare

Bookshare app server.

Deployment

Deployment guide

Development

  • Ruby >= 2.6
  • Node, yarn
  • PostgreSQL
  • Redis

MacOS

PostgreSQL:

brew install postgresql
brew services start postgresql
createuser --createdb bookshare

Redis:

brew install redis
brew services start redis

redis-cli ping

Bundle install & migrate

bundle
bundle exec rails db:setup
bundle exec rails db:migrate

Start server

bundle exec rails s

or

foreman start

Testing

Run rspec tests:

rspec

Run rubocop:

rubocop

or:

guard

Changelogs

CHANGELOG.md

TODO

  • 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