This repository has some docker containers to share practices projects!
rust-crud-api
This folder contains an API for user registration written in Rust using a database in PostgreSQL.
It is using Docker to isolate the resources and make it easy to run it on any device with any OS. The main content is allocated inside the src
folder.
The requirement to run this project is just to install Docker so you can check it out how to install it on your OS (is available on any Unix like system as Linux and OSX and also on Windows).
Once installed you just need to run the containers using the following commands
To start the database container
docker compose up db
To build the application image
docker compose build
To start the database container
docker compose up rustapp
And thats it! Now you can watch the containers running using the next command
docker ps -a
This project is a followed guide by FrancescoXX shared in his YouTube channel. You can find the original code in this repository.