json_rest_server 3.2.1 copy "json_rest_server: ^3.2.1" to clipboard
json_rest_server: ^3.2.1 copied to clipboard

A RESTful server based on JSON With this package you can have a fully functional RESTful server with auth, pagination and all the necessaries services do build an application

190
likes
140/ 160
pub points
33%
popularity

We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/rodrigorahman/json_rest_server/issues was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

0 out of 0 API elements (100.0 %) have documentation comments.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Linux

  • ✓ macOS

  • ✓ Windows

These platforms are not supported:

Android

Cannot assign Android automatically to a binary only package.

iOS

Cannot assign iOS automatically to a binary only package.

Web

Cannot assign Web automatically to a binary only package.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:json_rest_server/src/commands/create_project_command.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

/tmp/pana_CEKIDF/lib/src/core/helper/jwt_helper.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_CEKIDF/lib/src/core/middlewares/auth_middleware.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
args ^2.4.2 2.6.0 2.6.0
event_bus ^2.0.0 2.0.1 2.0.1
get_it ^7.6.4 7.7.0 8.0.2
http ^1.1.2 1.2.2 1.2.2
jaguar_jwt ^3.0.0 3.0.0 3.0.0
logger ^2.0.2+1 2.5.0 2.5.0
path ^1.9.0 1.9.1 1.9.1
shelf ^1.4.1 1.4.2 1.4.2
shelf_multipart ^1.0.0 1.0.0 2.0.0
shelf_static ^1.1.2 1.1.3 1.1.3
shelf_web_socket ^1.0.4 1.0.4 2.0.0
uuid ^4.3.1 4.5.1 4.5.1
yaml ^3.1.2 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
auth_header - 3.0.1 3.0.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
http_parser - 4.1.1 4.1.1
meta - 1.16.0 1.16.0
mime - 1.0.6 2.0.0
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.0
web_socket_channel - 2.4.0 3.0.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^7.6.4` on get_it does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions get_it to update the constraint.

The constraint `^1.0.0` on shelf_multipart does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions shelf_multipart to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

190
likes
140
pub points
33%
popularity

Publisher

verified publisheracademiadoflutter.com.br

A RESTful server based on JSON With this package you can have a fully functional RESTful server with auth, pagination and all the necessaries services do build an application

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, event_bus, get_it, http, jaguar_jwt, logger, path, shelf, shelf_multipart, shelf_static, shelf_web_socket, uuid, yaml

More

Packages that depend on json_rest_server