synthetic_api_cli 1.0.0 copy "synthetic_api_cli: ^1.0.0" to clipboard
synthetic_api_cli: ^1.0.0 copied to clipboard

Declarative mock API server for frontend development

example/README.md

synthetic_api example #

Install #

dart pub global activate synthetic_api_cli

Usage #

Initialize a new project #

synthetic-api init

Start the mock server #

synthetic-api dev --config synthetic-api.config.json --port 4010

Validate your config #

synthetic-api validate --config synthetic-api.config.json

Expose via tunnel #

synthetic-api tunnel --port 4010

Example config #

See the generated synthetic-api.config.json after running init for a full working example with routes, auth, pagination, and fixtures.

0
likes
150
points
100
downloads

Publisher

unverified uploader

Weekly Downloads

Declarative mock API server for frontend development

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, path

More

Packages that depend on synthetic_api_cli