Skip to content
This repository has been archived by the owner on Jan 5, 2020. It is now read-only.

anthillsolutions/api-skel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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