Skip to content

beehiiv/challenge

Repository files navigation

Beehiiv - Challenge

What is Challenge?

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.

The Stack

Server

  • Language
    • Ruby 3.1.2
    • Rails 6.1
    • Node 16

Development Getting Started

# 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

Run it

# Backend (http://localhost:2000)
bundle exec foreman start

# Frontend (http://localhost:2001)
yarn watch:app

# view at http://localhost:2001, basic auth is username/password (see `config.ru`)

Test It

# Setup test DB for testing
./scripts/setup_test_db

# Run tests
bundle exec rspec

Lint It

bundle exec standardrb

What it contains

Index Page

image

Add Subscriber Modal

image

Update Subscriber Status Modal

image

About

A code challenge starter application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published