Summary
In this chapter, we learned how to implement a RESTful microservice from the ground up. First, we created a new project and organized the code files. Then, we understood how to set up a vweb
web server with SQLite as a database.
Following this, we implemented a Note
struct that acted as a mapping between the object and relational database world. In the latter parts of this chapter, we implemented RESTful endpoints that performed CRUD operations on a Note
s table. Additionally, we managed to define and implement the behavior associated with endpoints such as status codes, JSON payloads, and the JSON response format, to mention a few.
By the end of this chapter, we understood how to run the microservice implemented using a vweb
web server. Additionally, we learned how to use Postman, which is a free software client that allows you to interact with web-based APIs. Then, we performed CRUD operations on the microservice we implemented.
This marks the end of this chapter...