json_server 1.0.0+3 json_server: ^1.0.0+3 copied to clipboard
Launch JSON server for web and mobile apps development from CLI without complicated backend setup for Dart and Flutter development.
Examples #
To start a default server, which binds to 127.0.0.1:1711
, using database.json
.
$ jserver -d database.json
$ jserver --data database.json
To start server at localhost:8888
using api.json
for database.
$ jserver -h localhost -p 8888 -d api.json
Alternatively, you can use:
$ jserver --host localhost --port 8888 -d api.json