Knowledges: JS

๐ 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
Links
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 :
- 7 Convenient CI/CD Tools for Your Node.js Projects
- How to set up CI/CD Pipeline for a node.js app with Jenkin
- circleci tuto
๐ง Tools :
- Travis - way to test and deploy your projects
- Circle - way to test and deploy your projects
- Coveralls - See coverage trends emerge
- CodeClimate - Get automated code coverage, complexity, duplication ..
- EsLint - A tool to enforce Node style and conventions
- Dependencies - dependencies check up
- GreenKeeper - dependencies PR
- Dependabot - dependencies PR
- Snyk.io - Vulnerabilities check up
๐ Conclusion
Travis, Codeclimate, Coveralls (more details than codeclimate), EsLint, Dependencies + GreenKeeper, Snyk.io
Password
๐ Articles :
๐ง Tools :
Logs
๐ Articles :
๐ง Tools :
๐ Conclusion
winston for everything, morgan for http (trends).