Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmuellr/express-sample
Just a simple sample server using express and maybe some other goodies.
https://github.com/pmuellr/express-sample
Last synced: about 1 month ago
JSON representation
Just a simple sample server using express and maybe some other goodies.
- Host: GitHub
- URL: https://github.com/pmuellr/express-sample
- Owner: pmuellr
- Created: 2015-08-03T21:15:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-03T21:15:32.000Z (over 9 years ago)
- Last Synced: 2024-04-09T21:04:45.053Z (9 months ago)
- Language: JavaScript
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
express-sample
================================================================================Just a simple sample server using express and maybe some other goodies.
Currently the code is instrumented with New Relic. To set this up, you'll
need to have a New Relic account, and then get a license key for an app
from New Relic. Once you have this, copy the file
`node_modules/newrelic/lib/config.default.js` to `newrelic.js` in the root
directory, and add your license key. You probably also want to add an
`app_name` so you can more easily find this server in the New Relic dashboard.Currently the code uses redis to update a requests counter. It's expected
you have a redis server running on the same host as the server, at the default
port.