DEV Community

Eleftheria Batsou
Eleftheria Batsou

Posted on • Originally published at eleftheriabatsou.hashnode.dev on

5 Rust Project Ideas For Beginner to Mid Devs 🦀

Image description

Hey there, welcome back to my blog! 👋

If you're learning Rust and want to practice your skills I want to introduce you to 5 practical projects that will help you in real-world projects. I wrote two more similar articles, one for complete beginners and one for beginners, this is one step up on the learning ladder for beginner to mid Rust devs.

Below you'll find: the 5 project ideas, the posts (tweets) or articles where I'm explaining step-by-step how you can build these projects and a link to the corresponding GitHub repo!

Project Idea 5: Extract Links

When you finish this project you'll know how to make an asynchronous GET request to a URL, parse the HTML response, and extract and print all external links (i.e., links within <a> tags with the href attribute) from the response using the select crate in Rust.

Check it on GitHub.

Project Idea 4: Connect Rust and SQLite

This is the first time I'm including in my Rust project ideas something like this: connecting to a database. From now on you'll see it more often. 😊

This program connects to an SQLite database, creates the necessary tables and schema, inserts data into the database, and prints the result of the SQL query execution. It demonstrates how to interact with an SQLite database using the sqlx crate.

I also wrote a detailed article about it, check it here:

For real-world projects, this is something very common so I'd highly recommend working on this or a similar project!

Check it on GitHub.

Project Idea 3a: Password Vault

Build a basic command-line interface (CLI) for managing a password vault, allowing users to: Add an entry, list all entries, search an entry, or quit the program.

This program is a great starting point to start building more complex apps!

I also wrote a detailed article about it, check it here:

Check it on GitHub.

Project Idea 3b: Password Vault but with SQLite

This project is very similar to this "password vault" only this time you can add a database (SQLite).

I also wrote a detailed article about it, check it here:

Check it on GitHub.

Project Idea 2: Mathematical Operations

You can create a simple REST API project for performing mathematical operations! In this case I'm performing addition, multiplication, and division operations via GET, using Actix and Rhai. This is a great way to learn about Actix and Rhai. You'll notice that later I'll be referring to Actix more.

I also wrote a detailed article about it, check it here:

Check it on GitHub.

Project Idea 1: PasteBin

With this project, users can submit text content, store it in a local database, and retrieve it using a generated URL. In my case, I have an HTML file that defines the structure and design of the user interface, while the Rust code handles HTTP requests, database interactions, and URL routing.

I also wrote a detailed article about it, check it here:

Check it on GitHub.

Notes

I'm new to Rust and I hope these small projects will help you get better and improve your skills. Check here part 1 and part 2 of Rust project ideas and if you need more resources I'd also like to suggest Akhil Sharma's YouTube Channel.


👋 Hello, I'm Eleftheria, Community Manager, developer, public speaker, and content creator.

🥰 If you liked this article, consider sharing it.

🔗 All links | X | LinkedIn

Top comments (1)