qdot 0.0.2
qdot: ^0.0.2 copied to clipboard
Write servers in Dart
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.yamlandmain.dartin it. -
Open terminal in project folder and run:
git clone https://github.com/mdb2301/QDot.git -
Update project level
pubspec.yaml:
environment:
sdk: ^2.17.6
dependencies:
qdot: 0.0.1
-
Create HTML templates named
index.htmlandtest.html. -
Put HTML templates in
{project-name}/templates/and static files in{project-name}/static/ -
Refer
example.dartfor usage