pharaoh 0.0.5+6 copy "pharaoh: ^0.0.5+6" to clipboard
pharaoh: ^0.0.5+6 copied to clipboard

Fast, unopinionated, minimalist web framework for Dart. Heavily inspired by ExpressJS

example/README.md

Examples #

API Service #

API service with a database access, secured with :api-key using a Middleware on PATH: /api and 3 has routes.

  • GET: /api/users
  • GET: /api/repos
  • GET: /api/user/:name/repos

Jump to Source

Route Groups #

API service with two route groups /guest and /admin.

  • Group: /admin
  • Group: /guest

Jump to Source

Middleware #

API service with Logger Middleware that logs every request that hits our server.

Jump to Source

CORS with Shelf Middleware #

Add CORS to our Pharaoah server using shelf_cors_headers

Jump to Source

Helmet with Pharaoh (Shelf Middleware) #

Use Helmet with Pharaoah shelf_helmet

Jump to Source

Serve Webpages and Files 1 #

Serve a Webpage, and files using Pharaoh

Jump to Source

Serve Webpages and Files 2 #

Serve a Webpage, favicon and Image using shelf_static

Jump to Source

30
likes
0
pub points
67%
popularity

Publisher

verified publisheryaroo.dev

Fast, unopinionated, minimalist web framework for Dart. Heavily inspired by ExpressJS

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, crypto, http_parser, jinja, meta, mime, shelf, spanner, uuid

More

Packages that depend on pharaoh