Integrate AI capabilities in an application using the OpenAI API and learn AI-based features
Build robust web applications with advanced TypeScript features like typing, generics, classes, and interfaces
Implement user authentication and authorization mechanisms to protect your apps and user data
Purchase of the print or Kindle book includes a free PDF eBook
Description
This book takes you on a journey with TypeScript 5, introducing its nuances and advantages over traditional JavaScript, explaining TypeScript basics, and highlighting the syntax, typing, generics, classes, and interfaces. Expert advice will help you build your understanding of TypeScript's role in modern web applications.
You'll gain hands-on experience with the tools required to write full-stack web applications end to end, beginning with setting up the Bun environment for backend development. This book also explores server-side functionality such as authentication, routing, and database integration with PostgreSQL. The second part of the book focuses on the integration of the OpenAI API, demonstrating the use of the GPT API for different use cases. The final part covers frontend development using Svelte, guiding you through UI design, state management, and performance optimization. Each chapter has real-world examples and comparisons to other technologies, providing you with a comprehensive understanding of full-stack development.
By the end of this book, you'll have learned how to build modern web applications using TypeScript 5 and confidently tackle full-stack development challenges.
Who is this book for?
This book is for junior to mid-level software engineers with foundational knowledge of JavaScript and web development, who are enthusiastic about the most cutting-edge technologies and want to expand their understanding of building full-stack applications end to end. Familiarity with the fundamentals of frontend and backend development will help you get the most out of this book.
What you will learn
Develop a chat application by implementing frontend and backend features effectively
Build powerful backends using PostgreSQL
Write unit tests efficiently for cleaner and more reliable apps
Understand full-stack application architecture for better scalability and maintainability
Create dynamic and responsive UIs with Svelte
Use debugging, testing, and logging tools in web applications to quickly detect and minimize errors
I mostly got this because I wanted to brush up on my technical skills. This was actually a lot more that I would have hoped for. I really enjoyed going through this material again as it does explain things with great detail and with real examples for any skill level. I really was interested in just the typescript part of things but learned so much going over everything again. I might actually read this again to be honest.
Amazon Verified review
teoAug 26, 2024
5
This book offers a solid overview of modern full-stack development using TypeScript 5. The author's coverage of Bun, PostgreSQL, Svelte, and OpenAI integration is comprehensive and practical. I appreciated the project-based approach, which helps reinforce the concepts through hands-on application. The explanations are clear and strike a good balance between depth and accessibility. While some sections could have been more in-depth, overall it serves as a useful resource for developers looking to expand their skill set. The OpenAI integration provides an interesting glimpse into potential future directions for web development. For developers interested in this tech stack, it's a worthwhile read that will likely see regular use as a reference.
Amazon Verified review
About the author
Mykyta Chernenko
Mykyta Chernenko
Mykyta Chernenko has over seven years of experience in technology, mainly in full-stack development with a focus on Python and TypeScript. He has also worked with Go, Kotlin, and Dart on various projects. His technical contributions include working on the Azure integration for Nutanix's cluster discovery project and a key engineering role at Factmata, overseeing engineering and infrastructure. Currently, he holds a position as a senior consultant at KodeWorks. In addition to his technical work, Mykyta has mentored over 20 professionals, sharing his knowledge and experience. He is also the author of The Rational Software Engineer and runs a blog with the same name on Hackernoon, where he writes about his insights in the field.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.