appointments-iteration3.webm
First things first, we need a better name. Feel free to suggest one!
Second, this is not ready for production use. If you're adventurous, you can try it out. Please note that this application is still in development and may contain bugs or unexpected behavior. If you encounter any issues, please report them on the GitHub repository.
Pull repo and use the Dockerfile to build the application, it uses sqlite as the database, so make sure you persist its storage. You can configure the config/production.yaml file to suite your needs. Hopefully we can simplify the configuration process in the future.
We use loco.rs as a framework. Its quite similar to Rails, but for rust. For the front end, we use nuxt with nuxtui, and bun as a runtime (you could use whatever you want, its only for development since the nuxt app is served as static files in production, so no runtime is needed).
I typically use bacon:
bacon runor you can use:
cargo loco startTo run tests, run the following command with just and nextest:
just test # you can pass arguments to the test command just like cargo testWithout just nor nextest:
cargo test --features mock-time