Adding API comment endpoints to Ruby on Rails API app

Creating, Updating, and Deleting is super common in any application. In our application, we've already made endpoints for posts. In this episode, we continue to expand on the comment controller from before and uncomment/enable the pieces necessary for our comments API endpoints.
šŸ¤Æ Support
  • https://www.patreon.com/davidwparker
  • https://www.buymeacoffee.com/davidwparker

ā±ļø Timestamps:
  • 00:00 - Introduction
  • 00:24 - Readme
  • 01:23 - Serializers Code changes
  • 04:30 - policy and controller changes
  • 07:20 - spec changes

šŸ’Œ Newsletter:
  • https://www.programmingtil.com/

šŸŖElsewhere:
  • Twitter: https://twitter.com/davidwparker
  • Twitter: https://twitter.com/programmingtil
  • GitHub: https://github.com/davidwparker

šŸ’­Concepts:
  • using a proc within a serializer

šŸ“šResources:
  • https://github.com/davidwparker/programmingtil-rails/tree/ep21

šŸŽ¬ Subscribe!
  • http://bit.ly/subdavidwparker

My name is David W Parker and Iā€™m creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. Iā€™m a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. Iā€™ve used React a lot in the past, as well as some Vue and AngularJS. Iā€™ve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.

ruby #rails #rubyonrails

Ā© programmingtil.com