Skip to content

jtwebman/node-express-postgres-docker-todo

Repository files navigation

Node Express Postgres Docker ToDo Project

Test Status Coverage Status Known Vulnerabilities MIT Licence

This is just a simple Node.js Express Postgres Docker app that starts and has basic login API with some simple routes for a ToDo app. I use it to start new projects as well as to just test docker and kubernetes deployments.

I try to keep it up to date with the latest but there is no guarantee.

To run locally or run the tests you will need to run docker-compose up -d to start the containers including postgres, redis, mailhog (to fake sending emails locally).

Here is a list of things this projects will eventually have:

  • Full support for postgres migrations with a npm script that can be part of your deployments before you start switching out containers.
  • Full support for a username and password login with a user record via API calls
  • Full support for the login flow including verifing emails and forgot email via API calls with an abstraction using mailgun but can easly be switched out for any other transactional email service.
  • With some simple config options setup login as Facebook, Google, Github, LinkedIn, and Twitter accounts.
  • A simple role based permission system to support managing users as well as only being able to update your own ToDo items.
  • Web app using the API
  • React Native App using the API