/todo-api

A to-do API demonstrating Node.js with security via Passport.js and persistence with MongoDB

Primary LanguageJavaScript

#TODO API This is a complete node example for setting up security with Passport.js and persistence with MongoDB

Installation

MongoDB

1 Easiest way to set up the database: install docker

2 Run MongoDB docker image

docker run -d -p 27017:27017 --name some-name mongo 

Usage

Install node packages

npm install

Run tests

npm run test