Part 2 Getting started
This second part of the book covers the business logic and sets up a working web application with various API endpoints. It covers database access, logging, and accessing third-party APIs. We will also clean up after ourselves and split our application into modules. After reading this part, you’ll know what your day-to-day will look like developing Rust web applications, and where to look for additional information.
Chapter 3 sets up our first route handler and HTTP GET endpoint. You’ll become familiar with the web framework, Warp, and how to funnel an incoming HTTP request to our route handler, how to send back a proper HTTP response, and what to do in case of an error.
Chapter 4 expands on these topics and implements ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access