bones_api 1.8.4 copy "bones_api: ^1.8.4" to clipboard
bones_api: ^1.8.4 copied to clipboard

Bones_API - A powerful API backend framework for Dart. It comes with a built-in HTTP Server, route handler, entity handler, SQL translator, and DB adapters.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate bones_api

Use it

The package has the following executables:

$ bones_api

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add bones_api

With Flutter:

 $ flutter pub add bones_api

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  bones_api: ^1.8.4

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:bones_api/bones_api.dart';