Api On Rails 5
معرفی کتاب «Api On Rails 5» نوشتهٔ Alexandre Rousesau. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «Api On Rails 5» در دستهٔ بدون دستهبندی قرار دارد.
API on Rails 5 Table of Contents Before Foreword About the author Copyright and license Thanks Introduction Conventions on this book Development environments Text editors and Terminal Browsers Package manager Git Ruby Initializing the project Installing Pow or Prax Gemfile and Bundler Versioning Conclusion The API Planning the application Setting the API Routes, Constraints and Namespaces Api versioning Improving the versioning Conclusion Presenting the users User model First user tests Improving validation tests Testing endpoints with CURL Creating users Update users Destroying users Conclusion Refactoring tests Refactoring the JSON response Refactoring the format param Refactor before actions Conclusion Authenticating users Stateless session Authentication token Sessions controller Sign in success Sign out Current User Authenticate with token Authorize actions Conclusion User products Product model Product bare bones Product validations Product/User association Dependency destroy Products endpoints Show action for products Products list Creating products Updating products Destroying products Feed the database Conclusion JSON with Active Model Serializers Setting up the gem Serialise the user model Serialize the product model Serializing associations Embedding products on users Searching products By keyword By price Sort by creation Search engine Conclusion Placing Orders Modeling order Orders and Products User orders Exposing the order model Render a single order Placing and order Customizing the Order JSON output Send order confirmation email Conclusion Improving orders Decrementing the product quantity Extending the Placement model Validate quantity of products Updating the total Conclusion Optimizations Setup more JSON:API specifications Users User’s sessions Orders Implementation Pagination Products Orders list Refactoring pagination API Caching Conclusion
دانلود کتاب Api On Rails 5