14
Svelte Chat Application Development
We’ve set up our Svelte development environment in the previous chapter, and now it is time to implement the logic of our frontend. We will cover topics such as routing in Svelte, developing the state management of our application, making API calls, and writing the overall logic of our chat. By the end of this chapter, you will be well equipped with tools to write your own frontend applications in Svelte.
We will cover the following topics:
- Writing routes for our application
- Handling authentication logic
- Developing chat logic
- Introducing styling
Technical requirements
To implement our chat functionality, we will need to install the following libraries:
$ npm install axios@1.6.7 jwt-decode@4.0.0 svelte-routing@2.11.0 ...
Get Full-Stack Web Development with TypeScript 5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.