Skip to content

vinniet/node-red-todo-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-RED Todo App

This project is part of the Node-RED in Production Workshop.

About

This is an example Node-RED project that provides a Todo-Backend implementation.

The Todo-Backend project defines a simple web API for managing a todo list. It was inspired by the TodoMVC project which showcases how to implement a common Todo application across a wide range of technologies.

The Node-RED implementation requires an instance of CouchDB to be running locally and for it to contain a database called todos. The easy way to create the database on a fresh install of CouchDB is to run:

curl -X PUT  http://localhost:5984/todos

This project includes a customised version of the TodoMVC web app in the public folder.

After cloning it into your Node-RED environment, you should make the following changes to your Node-RED settings.js file:

  • set httpAdminRoot to /admin - this moves the editor away from the root path
  • set httpStatic to the absolute path to this project's public folder.

Once you have made those changes and restarted Node-RED, you should be able to access the Todo web app on the url you would normally access the editor.

Acknowledgements

The TodoMVC web app in the public folder is licensed under the MIT license. It is based on the version available here: https://github.com/TodoBackend/todo-backend-client, with minor modifications

About

A Todo-Backend implementation using Node-RED and CouchDB. A sample application for https://github.com/knolleary/node-red-in-production-workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.3%
  • HTML 16.7%