0 purchases
qdot
QDot #
Server framework in Dart #
Provides: #
Web endpoints
File server
RESTful endpoints
Supports: #
Redirection
Rendering templates
Query and path parameters in URL
How to use: #
Create the project folder with pubspec.yaml and main.dart in it.
Update project level pubspec.yaml:
environment:
sdk: ^2.17.6
dependencies:
qdot: ^0.0.4
copied to clipboard
Create HTML templates named index.html and test.html.
Put HTML templates in {project-name}/templates/ and static files in {project-name}/static/
To run project, open terminal in the project folder and run:
dart main.dart
copied to clipboard
Optionally:
dart main.dart --host [hostname] --port [port]
copied to clipboard
Refer example.dart for further usage
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.