Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Full-Stack Web Development with TypeScript 5
  • Table Of Contents Toc
Full-Stack Web Development with TypeScript 5

Full-Stack Web Development with TypeScript 5

By : Mykyta Chernenko
4.3 (3)
close
close
Full-Stack Web Development with TypeScript 5

Full-Stack Web Development with TypeScript 5

4.3 (3)
By: Mykyta Chernenko

Overview of this book

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.
Table of Contents (23 chapters)
close
close
Lock Free Chapter
1
Part 1: Introduction to TypeScript
4
Part 2: Backend Development with Bun and TypeScript
9
Part 3: Integrating PostgreSQL for Data Management
13
Part 4: AI Integration with OpenAI API
16
Part 5: Frontend Development with Svelte

Setting Up and Configuring the OpenAI API for the Backend

In this chapter, we’ll explore and master the integration of the OpenAI API into our backend setup. Starting with a deep dive into large language models (LLMs) and the OpenAI API, we’ll cover everything from the basics to practical implementation steps. This knowledge is not only important for enhancing the technical repertoire with the cutting-edge capabilities of artificial intelligence (AI) but also for leveraging these technologies to innovate and streamline processes in your applications. By the end of this chapter, you’ll be well equipped with the skills to configure secure and efficient OpenAI API integration and bring the power of AI into your TypeScript projects.

In this chapter, we’re going to discuss the following topics:

  • Introduction to LLMs and their applications
  • Setting up OpenAI API integration
  • Integrating the OpenAI API into our backend

We will start with...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Full-Stack Web Development with TypeScript 5
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon