πŸ–– Introduction

This page includes links to articles and tools related to our JavaScript-based stacks. The goal is to keep a history of the reflections and conclusions made for the construction of the stack.

πŸ“‘ Informations

  • Bold : used
  • Italic : not used

πŸ”— Menu

Dependencies

πŸ“„ Articles :

  • WIP

πŸ”§ Tools :

πŸš€ Conclusion

Both are fine, :), do your own choice. We put npm by default for simplicity.

Tests

πŸ“„ Articles :

πŸ”§ Tools :

  • ava - Testing can be a drag. AVA helps you get it done.
  • jasmine - A jasmine runner for node projects.
  • mocha - simple, flexible, fun javascript test framework for node.js & the browser
  • jest - Delightful JavaScript Testing
  • supertest - Super-agent driven library for testing node.js HTTP servers using a fluent API.
  • chai - BDD / TDD assertion framework for node.js
  • should - BDD style assertions for node.js -- test framework agnostic

πŸš€ Conclusion

we prefer Jest because of trends, with supertest for simplicity. With this config, chai or should was useless.

CI

πŸ“„ Articles :

πŸ”§ Tools :

πŸš€ Conclusion

Travis, Codeclimate, Coveralls (more details than codeclimate), EsLint, Dependencies + GreenKeeper, Snyk.io

Password

πŸ“„ Articles :

πŸ”§ Tools :

  • bcrypt - way to test and deploy your projects
  • crypto-js - JavaScript library of crypto standards.

Logs

πŸ“„ Articles :

πŸ”§ Tools :

  • winston - A logger for just about everything.
  • morgan - HTTP request logger middleware for node.js.

πŸš€ Conclusion

winston for everything, morgan for http (trends).