My 2nd Book - Hapi with TypescriptPosted: Tags: code,hapijs,nodejs,tsc
I have been using Hapi.JS for about two years now. I have been blogging about Hapi for the past six months. Since I completed writing my first book, I have been thinking of writing my next book. I enjoy working with Hapi and also blogging about it, so I chose to write a book on Hapi.
But I'm going to author this book in a little different way. I am going to write in an incremental and iterative way. I have selected Softcover as a publishing platform where I can publish chapters as I write. You can read each chapter as I complete it.
Here are the proposed chapters:
Chapter 1 : Writing our first hapi application, introduces all essential concepts of hapi. We will learn how to handle urls using routes, how to connect to db to store and retrieve values, and how to use handlebar templates. Following this chapter should be sufficient enough to understand hapi. The whole chapter will be available for free.
Chapter 2: Essential Typescript, introduces all the concepts of typescript and how to compile hapi code in typescript using
Chapter 3: Routes, request, and reply introduces how hapi deals with incoming requests.
Chapter 4: Connect to db introduces connecting to SQL dbs using TypeORM.
Chapter 5: Views and templates introduces how to use handlebar templates.
Chapter 6: Hapi plugin system introduces how to use hapi plugin systems to modularize your hapi project.
Chapter 7: Validating with Joi introduces joi plugin to validate route parameters.
Chapter 8: Documenting your code with swagger introdces swagger plugin to document your hapi code.
Chapter 9: Serving static content introduces another plugin to serve static contents like images and stylesheets.
Chapter 10: Testing hapi introduces lab plugin to write automated test cases.
Chapter 11: Securing hapi applications introduces how to use JWT tokens within hapi.
Chapter 12: Supporting materials introduces
hapidock a docker based container that you can use to quickly start developing hapi applications.
Bookmark this page and keep visiting as I complete each chapter. I plan to complete at least one chapter every week.
Like the post? Retweet it. Got comments? Reply.