Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 487 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 487 Bytes

Tempalate for a REST API server or a static site server

Installation

You will need to have dart installed https://dart.dev/get-dart

Running the server

dart run

Running tests

dart test

REST Server

There is a simple controller that responds on the "/" request with a string response on port 4001

Static Site Server

Static site is served up on port 4002. Put a static site in the build/web folder and it will be served up on port 4002 if it has an index.html file.