Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deciduously/drat
Todo list in Rust and React/MobX
https://github.com/deciduously/drat
actix actix-web diesel-rs mobx mobx-react postgresql react reactjs rust todo todolist
Last synced: 21 days ago
JSON representation
Todo list in Rust and React/MobX
- Host: GitHub
- URL: https://github.com/deciduously/drat
- Owner: deciduously
- License: mit
- Created: 2018-09-20T11:38:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-03T06:34:49.000Z (over 1 year ago)
- Last Synced: 2025-01-02T21:12:45.113Z (29 days ago)
- Topics: actix, actix-web, diesel-rs, mobx, mobx-react, postgresql, react, reactjs, rust, todo, todolist
- Language: Rust
- Homepage:
- Size: 1020 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drat
Daily routine automated tracker - as in "drat, I forgot to do my life right because I don't use drat".
It's a to-do list.
Backend in actix_web with diesel, frontend in React.js with MobX.
## Requirements
* Stable rust
* yarn
* PostgreSQL
* `diesel-cli` -- `cargo install diesel-cli`## Usage
```shell
git clone https://github.com/deciduously/drat
cd drat
echo "DATABASE_URL=postgres://username:password@localhost/drat" > .env
diesel setup
yarn
yarn start
````yarn start` will run everything in one terminal, you can use `yarn watch:rs` and `yarn watch:js` in separate terminals to keep frontend and backend errors separate.
## Todo
Kind of like Outlook flags - they can recur with granular options, but they can also hold data about the activity.
* One off single tasks - just a checkbox
* Recurring activity - exercise, musical insturment practice - can carry duration of activity - in these cases the button click starts the timer, click again to stop and confirm the time to log
* Programming work - measuing what? time? commits?
* Medication/supplement reminders - carry Recurrence, dose - maybe even reminders about re-ordering?