https://github.com/fiddlerwoaroof/simple-node-flow
A simple website hosted on NodeJS that's written with type annotations for Flow
https://github.com/fiddlerwoaroof/simple-node-flow
Last synced: 21 days ago
JSON representation
A simple website hosted on NodeJS that's written with type annotations for Flow
- Host: GitHub
- URL: https://github.com/fiddlerwoaroof/simple-node-flow
- Owner: fiddlerwoaroof
- Created: 2017-05-21T06:15:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T23:00:41.000Z (over 3 years ago)
- Last Synced: 2025-07-14T05:17:03.457Z (about 1 year ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Simple Node Website with Static Types and 100% Test Coverage
This is a very simple website written in Javascript with type annotations for Facebook's Flow typechecker.
A goal of this project is to have 100% test coverage and a demonstration of dependency injection in a
Javascript server-side application.
## Installation and running.
- Clone this git repository: `git clone https://github.com/fiddlerwoaroof/simple-node-flow.git`
- Install dependencies: either `npm install` or `yarn`
- Run the tests: either `npm run test` or `yarn run test`
- Run the server: either `npm run serve` or `yarn run serve`
- Navigate to http://localhost:9405/hello?target=world or http://localhost:9405/length?target=world