October 2019
Intermediate to advanced
444 pages
10h 37m
English
Create a Rust binary project using cargo new orm and make sure that port 8081 is accessible from the localhost. To access the services, get a program such as curl or Postman to execute POST, GET, and more type web requests, as well as a program to create and manage SQLite (https://www.sqlite.org/index.html) databases (for example, sqlitebrowser: https://github.com/sqlitebrowser/sqlitebrowser).
Using a SQLite database manager, create a new database, bookmarks.sqlite, in a folder, db. Then, add a table that follows this schema:
CREATE TABLE bookmarks(id TEXT PRIMARY KEY, url TEXT);
Next, we are going to use the libsqlite3 library and headers in the project. On Linux, WSL, and macOS, install the appropriate packages from the package ...
Read now
Unlock full access