Skip to content

A simple and lightweight api in node (for copying)

Notifications You must be signed in to change notification settings

davidpene/node-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple and lightweight api in node (for copying)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published