A simple route manager application written in Rust
[![Build](https://github.com/StPfeffer/rusty-roads/actions/workflows/build.yml/badge.svg)](https://github.com/StPfeffer/rusty-roads/actions/workflows/build.yml) [![Rust Analyze](https://github.com/StPfeffer/rusty-roads/actions/workflows/rust-clippy.yml/badge.svg)](https://github.com/StPfeffer/rusty-roads/actions/workflows/rust-clippy.yml) [![Rust Check](https://github.com/StPfeffer/rusty-roads/actions/workflows/rust.yml/badge.svg)](https://github.com/StPfeffer/rusty-roads/actions/workflows/rust.yml) [![Release](https://img.shields.io/github/v/release/StPfeffer/rusty-roads?color=%23c694ff)](https://github.com/StPfeffer/rusty-roads/releases/latest)This project is part of our college coursework, aiming to develop a simple route manager application. We chose the Rust programming language to add an extra layer of challenge and learning opportunity.
Work in progress.
Ensure you have Rust installed on your machine. If not, download and install it from rust-lang.org.
Ensure you have Docker installed on your machine. If not, download and install it from docker.com.
After installing Docker, navigate to the project directory and start the PostgreSQL container:
docker-compose up postgres
After the container is running, you can build the application using the following command:
cargo build
This will install all the required dependencies to run the application.
You'll need a PostgreSQL user, password, database and URL.
Once you have it, you can copy or rename the .env.example
file to .env
and put it on POSTGRES_USER
, POSTGRES_PASSWORD
, POSTGRES_DB
and DATABASE_URL
.
Once everything is set up, you can run the following command to start the application:
cargo run
This project is licensed under the MIT License.