Skip to content

mmondora/webapp-beers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status Dependency Status devDependency Status

webapp-beers

Beers µService

How to start developing

Clone the repository and run npm install to install dependencies.

To start developing, run npm run dev. This command will start gulp (the build tool used by this project), which performs the following tasks:

Each time a javascript file (source code or test) changes, gulp re-runs the three tasks above (the whole process takes just a handful of milliseconds). Results are displayed in the terminal console, but html reports are also generated and can be viewed at:

Report pages are automatically reloaded when re-generated.

How to contribute

We follow github's git flow (info about it).

The gist of it is:

  • never commit to master
  • branch from master and develop on that branch
  • issue a pull request (PR) from that branch to master
  • when the PR is ready to be merged, merge it to master (possibly asking a teammate to review your code beforehand).

We also use zenhub, which integrates with github's issues, to manage the project's tasks.

Continuous integration

When pushing a branch to the github remote, a git hook triggers the travis-ci build for the project, which performs the same three tasks gulp performs during development (coveralls is used for code coverage). Results are displayed in the badges at the top of this readme, allowing to see at a glance the build status of the project.

travis-ci and coveralls integrate nicely with github: for instance, when a pull request is opened, they run on the proposed changes and display inline build results and code coverage delta, allowing the developer to see if it's safe to merge (example).

About

Beers µService

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%