shaunfowler / sample-node-web-api

A sample web API using Node, Express, and MongoDB.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sample-node-web-api

A sample REST API running on Node, using Express and MongoDB.

Install Dependencies

npm install

Run

node app.js

The API is available at: http://localhost:3000/items.

Supported Actions

GET /items
GET /items/:id
POST /items
PUT /items/:id
DELETE /items/:id

Model

The sample model is the following data type:

{
    id: String,
    name: String
}

About

A sample web API using Node, Express, and MongoDB.


Languages

Language:JavaScript 83.5%Language:HTML 16.5%