1.1.0 • Published 4 years ago
@instant-api/sport-session-tracker v1.1.0
Instant Sport Session Tracker API
A CLI to create a Sport session tracker API
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/sport-session-trackerOnce the server is up, open the url in the browser to get the list of routes !
Options
--helpor-h: Show the content of the readme file--portor-p: The port to use--folderor-f: The path to the folder used to store data.--slowor-s: Add a random delay to every request to simulate a real network
Note: By default the folder is set to sport-session-tracker.
npx @instant-api/sport-session-tracker --port 9000 --folder sport-session-apiIf you provide an argument with no name is will be used as the folder argument
npx @instant-api/sport-session-tracker sport-session-api