Skip to content

Latest commit

 

History

History
executable file
·
29 lines (19 loc) · 655 Bytes

README.md

File metadata and controls

executable file
·
29 lines (19 loc) · 655 Bytes

Node Api

The is a simple and lightweight node api

It is meant to be used as a "copy paste and edit" api. It's an easy way of starting a lightweight api, without having to think about setting up. It's an easy way of standing up an environment quickly, and in total isolation.

Installing

Step 1: Clone repo and run npm install

git clone https://github.com/davidpene/node-api.git

cd node-api

npm install

Step 2: Run the api

# Starts a stub; defaults on port 3000. Runs on http://localhost:3000
npm start

# Starts a stin on a specified port (e.g. 4001). Runs on http://localhost:4001
npm start -- --port 4001