Git Product home page Git Product logo

node-red-todo-app's Introduction

Node-RED Todo App

This project is part of the Tutorial hands-on on Packt Node-RED book.

About

First of all, thanks to Nick O'Leary for creating and publishing the original hands-on workshop Node-RED in Production Workshop.

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

node-red-todo-app's People

Contributors

knolleary avatar taijihagino avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.