An open API service indexing awesome lists of open source software.

https://github.com/alordash/tauri-scheduler


https://github.com/alordash/tauri-scheduler

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Task scheduler

Simple "todo" app made with tauri. Registers users and creates tasks for them.
Tasks are stored in PostgreSQL db via [sqlx](https://github.com/launchbadge/sqlx).

Demo

![Demo](demo/demo.png)

## Setup

0. Open `src-tauri` directory:

```sh
$ cd src-tauri
```

1. Declare postgres db url:

```sh
$ export DATABASE_URL="postgres://postgres:password@localhost/todos"
```

2. Create db

```sh
$ sqlx db create
```

3. Run migrations

```sh
$ sqlx migrate run
```

4. Launch\build

```sh
# launch
$ cargo tauri dev
# build
$ cargo tauri build
```