Skip to content

ageyev/api-test-server

Repository files navigation

api-test-server

Simple NodeJS server to test http requests

When GET/POST request to http://localhost:3000/api/ received, it writes data to console and to log file (./logs/) and can also show GET request data in browser

To display JSON response conveniently, use FireFox or in Chrome use F12 > 'Network' tab > 'Preview'

Installation:

git clone git@github.com:ageyev/api-test-server.git
cd api-test-server
npm install

Run:

start:

nodejs ./app.js

stop:

Ctrl-C

Bootstraping

Can also be used to bootstrap simple API service on NodeJS

About

Simple NodeJS server to test http requests

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors