- The app is a fork of https://github.com/Rebilly/ReDoc with some little changes/additions made.
- There is also a demo of how to run the app in chrome headless and capture network and tracing logs.
- The app is an "OpenAPI/Swagger-generated API Reference Documentation".
- node 8.4.0+
- npm 5.6.0+
- To install the dependencies, run
npm install
.
- Run
npm start
to start the angular app on localhost:9000 . - Run
npm run test
to test the app and get code coverage result. - Run
npm run e2e
to run e2e tests.
npm start
should run the app on localhost:9000 .
- Run
npm run profile
to run the app on headless chrome and capture network and tracing logs. - The network logs is generated in
networks-datetime.json
file in profiling-data directory. - The trace logs is generated in
trace-datetime.json
file in profiling-data directory. - to view network file
networks-datetime.json
, please use json viewer. - to view trace logs, Open devtools in chrome, go to Performance tab, click on Load Profile icon and select the
trace-datetime.json
file generated. - The code for it is in chrome-profiler directory.