Full-Stack Web Development with TypeScript 5: Craft modern full-stack projects with Bun, PostgreSQL, Svelte, TypeScript, and OpenAI Front Cover

Full-Stack Web Development with TypeScript 5: Craft modern full-stack projects with Bun, PostgreSQL, Svelte, TypeScript, and OpenAI

  • Length: 272 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2024-08-02
  • ISBN-10: 1835885586
  • ISBN-13: 9781835885581
Description

Unleash the power of modern web development and master both frontend and backend development by building a real-world application

Key Features

  • 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

Book 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.

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

Who this book is 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.

Table of Contents

  1. TypeScript Fundamentals
  2. TypeScript Deep Dive – Typing, Generics, Classes, and Interfaces
  3. Configuring a Backend Environment with Bun and Hono
  4. Building Backend Infrastructure with Bun, Hono, and TypeScript
  5. Improving Reliability – Testing and Validation
  6. Advanced Backend Development – Security, Throttling, Caching, and Logging
  7. PostgreSQL Basics, Storage, and Setup
  8. Interacting with PostgreSQL Using Libraries
  9. Interacting with PostgreSQL Using Prisma ORM
  10. Basics of Integrating External APIs with TypeScript and Hono
  11. Setting Up and Configuring the OpenAI API for the Backend
  12. Introduction to Svelte for Frontend Development
  13. Setting up the Svelte Project
  14. Svelte Chat Application Development
  15. Advanced Svelte Techniques
To access the link, solve the captcha.