Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spoonx/callback-server
An extremely simple callback server
https://github.com/spoonx/callback-server
Last synced: about 1 month ago
JSON representation
An extremely simple callback server
- Host: GitHub
- URL: https://github.com/spoonx/callback-server
- Owner: SpoonX
- Created: 2015-10-05T09:30:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-05T12:14:13.000Z (about 9 years ago)
- Last Synced: 2024-10-10T22:39:08.714Z (3 months ago)
- Language: JavaScript
- Size: 196 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Callback server
An extremely simple server which does nothing more than logging all requests to file and responding with 200.## Getting started
1. Simply clone this repository or download a release.
2. Run `npm install` from the project root.
3. From the project root run `npm start`.To, for example, change the `LOG_FILE`, start the server as follows:
`LOG_FILE=/custom/log/file.log npm start`.
## Environment variables
You can configure some things using environment variables.### LOG_FILE
Path to the file to append log data to. Defaults to `./callbacks.log`.### PORT
The port to run on. Defaults to `9615`.