This repository for a reference project for a Supply Chain solution in Rust, the aim of this repo is to provide a basic implementation of a supply chain solution in Microservices.
This section provides a detailed overview of the folder structure
This is a set of examples in Rust on topics such as buffer overflow
This is an example of how to implement a set of supply chain services as a monolith application
This is a set of services that show how to implement a supply chain solution as microservices
This is a hyper client to test the supplyc chain services
This is a java spring monolith server
This is a rust project that has been altered to use Bazel, as an example
To run this projects, you will need to install the latest version of Rust, Docker and Docker Compose.
TODO
In the root directory, type:
$ cd microservices/suschain_services
In each of the services you will need to set up your Diesel run database:
In this suschain_services folder, to get the database up:
$ docker-compose up database
Then in each sub folder type:
$ diesel setup $ diesel migration run
That should create the releavat database table in your running postgres container.
Now move back to the root suschain_services folder (microservices/suschain_services)
And type:
$ cargo build $ docker-compose up
That is it, you should be up and running with microservices :-)