yagoliveira92 / backend-todo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple Dart HTTP server using package:shelf.

  • Listens on "any IP" (0.0.0.0) instead of loop-back (localhost, 127.0.0.1) to allow remote connections.
  • Defaults to listening on port 8080, but this can be configured by setting the PORT environment variable. (This is also the convention used by Cloud Run.)
  • Includes Dockerfile for easy containerization

To deploy on Cloud Run, follow these instructions.

To run this server locally, run as follows:

$ dart run bin/server.dart

About


Languages

Language:Dart 87.6%Language:HTML 6.9%Language:Dockerfile 3.8%Language:Shell 1.7%