A cli to setup, and generate new components for, a Fanta app.
> cargo install --force
This will create a new project using: - Fanta - Postgres - Diesel.rs
```
fanta-cli init ProjectName ```
Note: This installs the project pointing towards the default database of
DATABASE_URL=postgres://postgres@localhost/TestApp8
This can be updated at any time in the generated .env
file.
```
fanta-cli component User fanta-cli migrate ```
Running migrate
is important because it generates schema populated from the database.
```
cargo run ```
Just like a normal rust project.