This tutorial shows you how to create a simple CRUD on Rust Language (with as our web server and being our ORM for PostgreSQL.)

To follow this, you must have:

  • Rust nightly version & cargo and as well it must be on your path (you can check it by tipping on any terminal: $ cargo — version )
  • PostgreSQL (the LATEST stable version is recommended)
  • PgAdmin, because it has a nice interface for the DataBase management System.

After setting all this up, we’re able to start, first:

$ cargo new heroes --bin 

Then change to the directory of the project into this new folder by typing: “cd heroes/”

And you will see something like this:

Image for post

After that, open this folder in your favorite text editor, like vscode.

#crud #rust #rustlang #web-development

How to Create a simple CRUD on Rust with and
28.10 GEEK