Skip to content

Commit 8b7f0f0

Browse files
Added startic sites
1 parent c45ec02 commit 8b7f0f0

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Simple REST api server implemented in Dart
1+
Tempalate for a REST API server or a static site server
22

33
# Installation
44

@@ -11,3 +11,11 @@ You will need to have dart installed https://dart.dev/get-dart
1111
# Running tests
1212

1313
`dart test`
14+
15+
# REST Server
16+
17+
There is a simple controller that responds on the "/" request with a string response on port 4001
18+
19+
# Static Site Server
20+
21+
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.

0 commit comments

Comments
 (0)