dartion 1.2.1 copy "dartion: ^1.2.1" to clipboard
dartion: ^1.2.1 copied to clipboard

Dartion is a RESTful mini web server based on JSON. Up your backend in 5 Seconds!

example/example.md

Dartion - Usage Example #

Initiate Dartion #

Init server:

Execute this command in an empty folder:

dartion init

This will create the files as you can see in the Example folder. The config.yaml is the file you want to change so you can add your own configurations.

Start server:

This command will boot the server based on the settings in config.yaml.

dartion serve

Remember to use it in the folder with the files you wish to use. If you start it using the Example folder you can run the Dartion tests for example.

Changing data:

The file db.json can be changed to add your own data to your mock server.

Interacting with the database:

Use the IDatabase class methods: init - to initialize the database save - to save an entry to the database getAll - get all entries from it get - get a single entry

75
likes
140
pub points
43%
popularity

Publisher

verified publisherflutterando.com.br

Dartion is a RESTful mini web server based on JSON. Up your backend in 5 Seconds!

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

jaguar_jwt, path, shelf, shelf_multipart, shelf_router, shelf_static, uuid, yaml

More

Packages that depend on dartion