Commit 4ac94e6
committed
chore: add JSON user config defaulting to using local Astarte instance
Add a default JSON configuration that the dashboard automatically
discovers when running it with `npm run start`, i.e. for local
development.
The configuration assumes a local Astarte instance being available, for
example by following the official "Astarte in 5 minutes" guide from
Astarte's documentation.
This change is aimed at improving the developer experience, so that the
dashboard is ready to be used out of the box with a local Astarte,
provided that the user already has a realm and an associated access
token.
Signed-off-by: Davide Briani <davide.briani@secomind.com>1 parent fc504ae commit 4ac94e6
3 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments