The Wayback Machine - http://web.archive.org/web/20201114204232/https://github.com/anthillsolutions/api-skel
Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

API skeleton

Codeship Coveralls Gemnasium label license

Webpack + Typescript + Express + Jest + Chai

How to use API skeleton

Install

$ yarn

A post install script will transpile Typescript code into javascript. Transpiled code can be found at ./dist/server.js.

Tests

$ yarn test

Send coverage to coveralls

$ COVERALLS_REPO_TOKEN=XXXX yarn test-ci

You need to add your coveralls repository token, otherwise it will fail.

Run

$ yarn start

This will launch the server as is.

$ yarn pm2

This will launch the server with pm2 instead.

Description

A small Express application written in Typescript and set with Webpack. Tests are done with Jest + Mocha/Chai.

You can find the demo app running at: https://api-skel.herokuapp.com/.

Authors

License

MIT

You can’t perform that action at this time.