Write a simple Ruby on Rails app that allows the user to create and view articles. Use Acceptance-Unit Test cycle and outside-in approach.
-
Learn about Ruby on Rails
- structure of a RoR application
- params
- routes (resources, members, etc)
- most common helpers
- migrations
- CRUD controller actions
-
Learn about the Model-View-Controller pattern
-
Learn about how to use tests (High level acceptance tests and Low level unit tests) to drive the development process.
- Write a high-level (outside) business value example that goes red
- Write a lower-level (inside) example for the first step of implementation that goes red
- Implement the minimum code to pass that lower-level example, see it go green
- Write the next lower-level RSpec example pushing towards passing step 1
- Repeat steps 3 and 4 until the high-level test (1) goes green
- Start over by writing a new high-level test
- Read Devise documentation
- Add a login functionality
- Only allow logged in user to view articles
- Feature test
- Unit tests
- Make an WIP pull request towards development branch
As a visitor,
When I visit the landing page of the application
I would like to see a list of all articles
As a publisher
In order to add relevant content to my news service
I would like to be able to create articles
Deployed via Heroku.
View deployed site here.
Ruby - The worlds best programming language
Rails - Imagine what you could build if you learned Ruby on Rails..
RSPEC - Making TDD Productive and Fun
Cucumber - Tools & techniques that elevate teams to greatness
Zane Neikena - zanenkn
This project utilizes the MIT open-source license.
Kudos to PurpleBooth for the README template