Skip to content

martinbilek/node-mock-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-mock-api

Simple nodejs (expressjs) API example.

Getting Started

To get you started you can simply clone the node-mock-api repository and install the dependencies.

Clone node-mock-api

git clone https://github.com/martinbilek/node-mock-api.git
cd node-mock-api

Install Dependencies

npm install

Run the Application

npm start

Now browse to the app at http://localhost:8989/.

Example URLs:

GET http://localhost:8989/heroes/ # get list of heroes

GET http://localhost:8989/heroes/15 # get detail of hero with id 15

POST http://localhost:8989/heroes/15 # update hero with id 15

About

Simple nodejs (expressjs) API example.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published