Skip to content

joboccara/my-media-store

Repository files navigation

My Media Store

This repo is for the Doctolib software design training.

We are managing an online shop for digital goods: books, images and videos. The goal of the training will be to extend it with a few more features. The challenge will be to do it in the most maintainable way to support future evolutions.

In order to facilitate the code and focus more on architecture decisions than HTTP API design, some tests are provided for each iteration to clarify the API. We focus on backend code, so we only develop a REST API, which is used with tests to validate its behavior.

Getting started

  • clone this repo
  • run bundle install
  • launch bundle exec rails test and check it works (with some skips ^^)
  • create your own branch: impl-<your name>
  • make a commit at each end of iteration

Tips:

  • if you want/need to change models, you can update the migrations and reset the db, it will be quicker/easier ;) (bundle exec rails db:drop db:create db:migrate)

Initial state

You have a products_controller allowing to list all the products by kind. Users can browse them and download them. Their downloaded list is available in the downloads_controller.

Now let's start and open instructions/iteration1.md for the first iteration. We provide minimal tests for each iteration to guide you (see iteration_x_test.rb), but you can write more if you want/need.

Please do not look at instructions/tests ahead of time, that would spoil you and ruin the training ^^

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published