Skip to content

instant-api/todo-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instant Todo List API

A CLI to create a small Todo List API

This package let you quickly create a small JSON API to list / add / update and delete Todos. It uses a single JSON file to store data.

Why ?

The aim of this package is to provide an API for front-end exercices, allowing student to use an API without having to setup one themself.

Who made this ?

Hi ! I'm Etienne, you can follow me on Twitter 😉

Usage

npx @instant-api/todo-list

Options

  • --port or -p: The port to use
  • --file or -f: The path to the json file used to store data.
  • --help or -h: The path to the json file used to store data.
  • --slow or -s: Add a random delay to every request

Note: By default the file is set to todo-list-db.json.

npx @instant-api/todo-list --port 9000 --file todo.json

If you provide an argument with no name is will be used as the file argument

npx @instant-api/todo-list todo.json

About

Todo list instant-api

Resources

License

Stars

Watchers

Forks

Packages

No packages published