Kitchenandrecipes is a ruby on rails application created to manage and share recipes. The application uses Ruby on Rails framework and manages data through forms and RESTful routes. It provides standard user authentication, including signup, login, logout and passwords. In addition, the authentication system allows login from other third party services, Facebook, Google and Github.
The stretch goals are:
- Write Tests for the project using RSPEC and Capybara
- Host the application on Heroku platform
To Do:
- Design data models and associations
- Write user stories
- Sketch out rough screen layouts
- Setup the Kitchenandrecipes application to use postgresql database. Do this now so it can easily be hosted on Heroku platform later
- install and setup postgresql
- Generate models and migrations and setup Activerecord associations. Add Activerecord validations.
- Write RSPEC/Capybara Tests
- Implement authentication using Devise/OmniAuth
- Start routes, controllers, and views for home page, signup, login and logout
- Add edit and delete of User account.
- Setup seeds data for db
- Continue with main CRUD logic for recipes and it's corresponding routes, controller and views.
- Use Activerecord scope method and query methods for browsing recipes by different filters (eg. ingredient count, author, meal type, rating, etc)
- Refactor - DRY
Bootstrap - Default navbar Bootstrap Card Component
Getting Started with PostgreSQL on Mac OSX
Setting up PostgreSQL with Rails Application
Devise docs on getting started
Devise docs on OmniAuth: Overview - setting up omniauth strategy using Facebook
Devise docs on Controller filters and helpers
Integrating Social Login in a Ruby on Rails Application using omniauth and Devise
How To Setup Devise and OmniAuth for Your Rails Application
Devise Authentication in Depth
User Authentication in Rails with Devise
Omniauth Docs on Auth Hash Schema
Rails 5.2: Active Storage and beyond Active Storage Overview How do I duplicate a file stored in ActiveStorage in Rails 5.2
Setting up Rails 5 Active Storage with Amazon S3 Connecting AWS’s S3 to your Heroku hosted Rails App