Skip to content

gustawdaniel/simple-todo-app-js-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To start server

node node_modules/http-server/bin/http-server 

To start database

node node_modules/json-server/bin/index.js --watch db.json

To add new todo:

http POST localhost:3000/todo text="First One"

To list all todos:

http GET localhost:3000/todo

To remove n-th todo:

http DELETE localhost:3000/todo/n

Screen of application

[screen.png

About

Simple app presenting some technologies like fetch interface, promises, template strings, transform property.

Resources

License

Stars

Watchers

Forks

Packages

No packages published