Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files. Make sure that you have FnServer running on the same host to get this wabapp ready. If not, see configuration
to change the API URL.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build. You can add the option --base-href /subfolder/
if needed.
Edit the ngsw-config.json
file to change the API URL from localhost:8080
to your FnServer. Find and replace API_URL
, in services folder, to point to your FnServer API as well.
This webapp supports today almost all API from FnServer v2. See API at https://github.com/fnproject/fn
API | List | Edit |
---|---|---|
Applications | ✅ | ⬜ |
App Stats | ⬜ | ⬜ |
Functions | ✅ | ✅ |
Fn Stats | ⬜ | ⬜ |
Triggers | ✅ | ✅ |
Triggers Stats | ⬜ | ⬜ |
Logs | ✅ | N/A |