Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 781 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 781 Bytes

Todo list exercise

Prerequisites

Install

git clone https://github.com/thobalose/todo-list-app.git ; cd todo-list-app/
npm install

Run

node app.js

Visit http://localhost:8080 in your browser

Test

To run tests

npm test

Docker

To build a docker image for the todo-list-app and run it inside a container execute

docker build -t thoba/todo-list-app .

The above with create an image with the latest tag. To run the container execute

docker run -it -p 8080:8080 --name todo_list_app thoba/todo-list-app