-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d59cd2
commit bd93502
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
# funAPM | ||
# funAPM | ||
|
||
To run this project, you will need to have MongoDB available on your computer then: | ||
|
||
* clone this repository | ||
* `npm install` in this repository and in the testApp directory | ||
* start the test application with `node testApp/server.js` | ||
|
||
You can then interact with this application with the following curl commands | ||
|
||
``` | ||
curl -H "Content-Type: application/json" -X POST -d '{"name":"xyz"}' http://localhost:9090/cats | ||
``` | ||
|
||
``` | ||
curl http://localhost:9090/cats | ||
``` | ||
|
||
``` | ||
curl http://localhost:9090/destroyrandom | ||
``` | ||
|
||
After the server is stopped, a file name `viewer.html` is created to display the results that can be found in `apm_logs.json` | ||
|