Skip to content

Instantly share code, notes, and snippets.

Gabriel Neutzling gneutzling

Block or report user

Report or block gneutzling

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@erichonorez
erichonorez / rest_api.js
Created Feb 10, 2013
A simple REST API with Node.js and Express
View rest_api.js
/**
* TaskRepository class deals with task persistence
*/
function TaskRepository() {
this.tasks = [];
this.nextId = 1;
}
/**
* Find a task by id
* Param: id of the task to find
You can’t perform that action at this time.