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
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
Rails command d/rails s
, d/rails db:migrate
, ...
Bundle command d/bundle install
, d/bundle config
, ...
Rspec command d/rspec spec
Run any shell command in the container
Access the container's bash shell environment
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
}