You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-23Lines changed: 4 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,17 +212,13 @@ There is also a manifest file which contains the app name to use when adding the
212
212
}
213
213
```
214
214
215
-
216
-
217
-
*******
218
-
219
-
## Software Overview
220
-
221
-
### Back End
215
+
## Back End Overview
222
216
223
217
The back end is a set of REST endpoints hosted by a [ESPAsyncWebServer](https://github.com/me-no-dev/ESPAsyncWebServer) instance. The source is split up by feature, for example [WiFiScanner.h](src/WiFiScanner.h) implements the end points for scanning for available networks.
224
218
225
-
There is an abstract class [SettingsService.h](src/SettingsService.h) that provides an easy means of adding configurable services/features to the device. It takes care of writing the settings as JSON to SPIFFS. All you need to do is extend the class with your required configuration and implement the functions which serialize the settings to/from JSON. JSON serialization utilizes the excellent [ArduinoJson](https://github.com/bblanchon/ArduinoJson) library. Here is a example of a service with username and password settings:
219
+
There is an abstract class [SettingsService.h](src/SettingsService.h) that provides an easy means of adding configurable services/features to the device. It takes care of writing the settings as JSON to SPIFFS. All you need to do is extend the class with your required configuration and implement the functions which serialize the settings to/from JSON. JSON serialization utilizes the excellent [ArduinoJson](https://github.com/bblanchon/ArduinoJson) library.
220
+
221
+
Here is a example of a service with username and password settings:
The front end is a bit of a work in progress (as are my react skills), but it has been designed to be a "mobile first" interface and as such should feel very much like an App.
292
-
293
-
I've tried to keep the use of libraries to a minimum to reduce the artefact size (it's about 150k gzipped ATM).
294
-
295
-
## Future Improvements
296
-
297
-
-[x] Reduce boilerplate in interface
298
-
-[ ] Provide an emergency config reset feature, via a pin held low for a few seconds
299
-
-[x] Access point should provide captive portal
300
-
-[ ] Perhaps have more configuration options for Access point: IP address, Subnet, etc
301
-
-[ ] Enable configurable mDNS
302
-
-[x] Introduce authentication to secure the device
0 commit comments