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

194
likes
140/ 160
pub points
178
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

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

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.

Failed check 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

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

To format your files run: dart format .

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

To format your files run: dart format .

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

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

Package Constraint Compatible Latest Notes
args ^2.4.2 2.7.0 2.7.0
event_bus ^2.0.0 2.0.1 2.0.1
get_it ^7.6.4 7.7.0 8.0.3
http ^1.1.2 1.3.0 1.3.0
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.1
shelf_static ^1.1.2 1.1.3 1.1.3
shelf_web_socket ^1.0.4 1.0.4 3.0.0
uuid ^4.3.1 4.5.1 4.5.1
yaml ^3.1.2 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.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.2 4.1.2
meta - 1.16.0 1.16.0
mime - 1.0.6 2.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1
web_socket_channel - 2.4.0 3.0.3

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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
194
likes
140
points
178
downloads

Publisher

verified publisheracademiadoflutter.com.br

Weekly Downloads

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