Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

softwarebrauerei/jugs-node-rest-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JUGS "Cool Java" - Node.js REST API Demo

Prerequisites

Installation

  1. Clone this Repo
  2. cd into jugs-node-rest-server
  3. Run npm install
  4. Run coffee -c src -o lib

Usage

Create a db.json in the data folder.

{
  "tasks": [
    {
      "id": "30CFB87C-0365-4A50-9E70-C91BB046BD37",
      "title": "Prepare for JUGS Session",
      "dueDate": "2015-05-21T13:15:06.449Z",
      "done": true
    }
  ]
}

Start the server with npm start

Routes

GET /tasks
GET /tasks/30CFB87C-0365-4A50-9E70-C91BB046BD37
POST /tasks
PUT /tasks/30CFB87C-0365-4A50-9E70-C91BB046BD37
DELETE /tasks/30CFB87C-0365-4A50-9E70-C91BB046BD37

Additional Information

Please see json-server for more information and advanced usage

About

short demo app for jugs "cool java" session

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published