Fell Race Finder - API
This is a quick boilerplate instructing how configure TypeScript to work with Koa et al.
$ git clone https://github.com/blairg/fellrace-finder-server.git
$ cd fellrace-finder-server && yarn
This will also install the TypeScript definitions used in this project.
- To run the development server, run:
$ yarn dev-server
ts-node to transpile on-the-fly and probably ain't the best idea for production.
- To build for production, run:
$ yarn run build
... Which can then be started with:
$ yarn start
Included is a Procfile that will do this for you on Heroku.
- [ ]