qdot 0.0.4 copy "qdot: ^0.0.4" to clipboard
qdot: ^0.0.4 copied to clipboard

Write servers in Dart

QDot #

Server framework in Dart #

Logo

Provides: #

  • Web endpoints
  • File server
  • RESTful endpoints

Supports: #

  • Redirection
  • Rendering templates
  • Query and path parameters in URL

How to use: #

  1. Create the project folder with pubspec.yaml and main.dart in it.

  2. Update project level pubspec.yaml:

environment:
  sdk: ^2.17.6
  
dependencies: 
  qdot: ^0.0.4
  1. Create HTML templates named index.html and test.html.

  2. Put HTML templates in {project-name}/templates/ and static files in {project-name}/static/

  3. To run project, open terminal in the project folder and run:

dart main.dart
  1. Optionally:
dart main.dart --host [hostname] --port [port]
  1. Refer example.dart for further usage
1
likes
130
pub points
0%
popularity

Publisher

unverified uploader

Write servers in Dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

args, liquid_engine, mime, path

More

Packages that depend on qdot