Skip to content

Latest commit

 

History

History
79 lines (54 loc) · 1.14 KB

README.md

File metadata and controls

79 lines (54 loc) · 1.14 KB

Moxi Dev Interview

A test application for dev interviews.
(See INTERVIEW README)

Stack

  • Ruby 3.2.0
  • Rails 7.0.4
  • sqlite
  • RSpec/FactoryBot

Docker Implementation: rails/docked

Setup

Prerequisites: Just Docker! (ruby & rails not needed)

git clone git@github.com:moxiworks/moxi-dev-interview.git
cd moxi-dev-interview
d/setup

then

d/rails s

Commands

d/rails

Rails command d/rails s, d/rails db:migrate, ...

d/bundle

Bundle command d/bundle install, d/bundle config, ...

d/rspec

Rspec command d/rspec spec

d/run

Run any shell command in the container

d/shell

Access the container's bash shell environment

Class Diagram

classDiagram
    Event --> Job : has_many
    Job --> Shift : has_many

    class Event{
      +string: name
      +string: date
    }
    class Job{
      +string: name
      -int: event_id
    }
    class Shift{
      +string: start_time
      +string: end_time
      -int: job_id
    }

    class Volunteer{
      string: email
    }
Loading