This is the monolithic backend of the Tallii application.
In order to develop in the backend you will need to make sure you have rust installed, along with cargo. See installing rustup for more info. Once you have rust installed following the repo specific instructions below.
- Install the
sqlx
cli by running:cargo install --version=0.1.0-beta.1 sqlx-cli --no-default-features --features postgres
- This cli is used for managing the database, running migrations and creating new migrations
- Make sure you have the following installed:
openssl libssl-dev clang llvm-dev libclang-dev
- On ubuntu run:
sudo apt install openssl libssl-dev clang llvm-dev libclang-dev
- On mac run:
tbd
- On ubuntu run:
- Start the database container:
docker-compose up database
- Build and run the application:
cargo run