Welcome to Inventar!
Inventar is an app designed to help you keep track of your things (i.e., inventory them) be it while you are moving or, really, just in general — for some, it can even aid sustain a minimalistic lifestyle!
Inventar was developed with Svelte for the front-end and with Rust (Rocket 🚀 + Diesel ⛽) for the back-end.
All the data stored in the app is being hosted on the free-tier of a cloud-based PostgreSQL database provider (see ElephantSQL), which supports a maximum of 5 concurrent connections and 20MB of data maximum.
diesel
cli w/ postgres specifications: cargo install diesel_cli --no-default-features --features postgres
.env
file specifying a DATABASE_URL
as per .env.example
file.Note: Your
DATABASE_URL
should look somewhat like:postgres://<username>:<password>@<host>/<database_name>
Check out Diesel's Getting Started Guide for more info on setup and next steps (i.e., migrations and whatnot).
heroku login
).heroku buildpacks:set emk/rust
Procfile
and rust-toolchain
files — that's also needed 👌.main/master
, you'll be deploying to Heroku!npm run dev
.cargo run
or cargo watch -x run
(i.e., if you use cargo watch).