paint-brush
Building an API in Rust with Rocket.rs and Diesel.rs Following Clean Architectureby@brookjeynes
2,109 reads
2,109 reads

Building an API in Rust with Rocket.rs and Diesel.rs Following Clean Architecture

by Brook Jeynes20mDecember 2nd, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this guide I’m going to walk you through the process of building a simple CRUD API from scratch in Rust using Rocket.rs. I will show you how to create migrations and access a PostgreSQL database using Diesel.rs and connect everything up to a React + Typescript front-end. When building the project we will follow Clean Architecture, although I won’t go into talking too much about what that is as it’s not the focus of this guide.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Building an API in Rust with Rocket.rs and Diesel.rs Following Clean Architecture
Brook Jeynes HackerNoon profile picture
Brook Jeynes

Brook Jeynes

@brookjeynes

Just a tech guy

0-item

STORY’S CREDIBILITY

Code License

Code License

The code in this story is for educational purposes. The readers are solely responsible for whatever they build with it.

L O A D I N G
. . . comments & more!

About Author

Brook Jeynes HackerNoon profile picture
Brook Jeynes@brookjeynes
Just a tech guy

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite