وبلاگ بلیان

Api Rails ̈6

معرفی کتاب «Api Rails ̈6» نوشتهٔ Alexandre Rousesau. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «Api Rails ̈6» در دستهٔ بدون دسته‌بندی قرار دارد.

API on Rails 6 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 Versioning Conclusion The API Planning the application Setting the API Routes, Constraints and Namespaces Api versioning Conclusion Presenting users User model Generation of the User model Password hash Build users Test our resource with cURL Create users Update users Delete the user Conclusion Authenticating user Stateless session JWT presentation Setting up the authentication token Token’s controller Logged user Authentication with the token Authorize actions Conclusion User’s products The product model The foundations of the product Product validations Products endpoints Show action for products Products list Creating products Updating products Destroying products Feed the database Conclusion Building JSON Presentation of JSON:API Serialize user Serialize products Serialize associations Theory of the injection of relationships Integrate into a meta attribute Incorporate the object into the attribute Incorporate the relationships into `include Application of the injection of relationships Retrieve user’s products Search for products The keyword by By price Sort by creation date Conclusion Placing Orders Modeling order Orders and Products Expose the user model Render a single order Placing and order Send order confirmation email Conclusion Improving orders Decrementing product quantity Extending the Placement model Validate quantity of products Updating the total Conclusion Optimizations Pagination Products Orders list Refactoring pagination API Caching N+1 Queries Prevention of N + 1 requests Activation of CORS Conclusion
دانلود کتاب Api Rails ̈6