ENGLISH

Api On Rails 5

Book information

Language
english
Format
PDF
Filesize
3 MB (3391462 bytes)
Pages
\223
Time added
2020-05-22 21:19:25

Description

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

Similar books

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

2010 · PDF

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

1858 · PDF

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

2022 · PDF

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

1809 · PDF