Challenge is a rails/react app meant to be used with our code challenge assignment. Use this as the starting point for your code challenge.
- Language
- Ruby 2.7
- Rails 6
- Node 14
# Clone and setup repo
git clone git@github.com:beehiiv/challenge.git
cd challenge
# Install and setup server dependencies
bundle install
bundle exec rake db:create db:migrate
yarn install
# Backend (http://localhost:2000)
bundle exec foreman start
# Frontend (http://localhost:2001)
yarn watch:app
# Setup test DB for testing
./scripts/setup_test_db
# Run tests
bundle exec rspec
bundle exec standardrb