/todos-express-postgresql

Todo app built with Node.js, Express, and PostgreSQL.

Primary LanguageCSS

Express • TodoMVC, adapted for fly.io

This is a fork of jaredhanson/todos-express-sqlite, with the following modifications:

  • db.js is modified to use postgresql instead of sqlite3
  • bin/www is modified to reflect new project name in debug statement

With these changes multiple replicas of this application can be deployed, even in multiple regions.

Deployment

git clone https://github.com/rubys/todos-express-postgresql.git -o todomvc
cd todomvc
fly launch

If you visit this application, you will see a standard todo list.

To create additional machines, run:

fly machine clone

This will prompt you for a machine to clone, pick any one.

Notes: