fedemengo/nodebestpractices
:white_check_mark: The largest Node.js best practices list (April 2019)
JavaScriptCC-BY-SA-4.0
Pinned issues
Issues
- 0
2.4 Handle errors centrally
#10 opened by fedemengo - 2
START HERE - Some information!
#59 opened by fedemengo - 0
5.18. Don't route logs within the app
#58 opened by fedemengo - 0
5.17. Use an LTS release of Node.js
#57 opened by fedemengo - 0
- 0
5.15. Set NODE_ENV=production
#55 opened by fedemengo - 0
- 0
- 0
- 0
5.11. Get your frontend assets out of Node
#51 opened by fedemengo - 0
5.10. Measure and guard the memory usage
#50 opened by fedemengo - 0
5.9. Make your code production-ready
#49 opened by fedemengo - 0
- 0
5.7. Create a ‘maintenance endpoint’
#47 opened by fedemengo - 0
5.6. Utilize all CPU cores
#46 opened by fedemengo - 0
5.5. Guard process uptime using the right tool
#45 opened by fedemengo - 0
5.4. Lock dependencies
#44 opened by fedemengo - 0
- 0
5.2. Increase transparency using smart logging
#42 opened by fedemengo - 0
5.1. Monitoring!
#41 opened by fedemengo - 0
4.11 Carefully choose your CI platform
#40 opened by fedemengo - 0
- 0
4.9 Use docker-compose for e2e testing
#38 opened by fedemengo - 0
4.8 Inspect for outdated packages
#37 opened by fedemengo - 0
4.7 Check your test coverage
#36 opened by fedemengo - 0
4.6 Tag your tests
#35 opened by fedemengo - 0
- 0
- 0
4.3 Detect code issues with a linter
#32 opened by fedemengo - 0
4.2 Include 3 parts in each test name
#31 opened by fedemengo - 0
- 0
3.12 Use arrow function expressions
#29 opened by fedemengo - 0
3.11 Use Async Await, avoid callbacks
#28 opened by fedemengo - 0
3.10 Use the === operator
#27 opened by fedemengo - 0
3.9 Require modules by folders
#26 opened by fedemengo - 0
3.8 Require modules first
#25 opened by fedemengo - 0
3.7 Prefer const over let. Ditch the var
#24 opened by fedemengo - 0
3.6 Use naming conventions
#23 opened by fedemengo - 0
3.5 Name your functions
#22 opened by fedemengo - 0
3.4 Don't Forget the Semicolon
#21 opened by fedemengo - 0
- 0
3.2 Node.js specific plugins
#19 opened by fedemengo - 0
3.1 Use ESLint
#18 opened by fedemengo - 0
- 0
2.10 Catch unhandled promise rejections
#16 opened by fedemengo - 0
2.9 Discover errors and downtime
#15 opened by fedemengo - 0
2.8 Test error flows
#14 opened by fedemengo - 0
- 0
2.6 Exit the process gracefully
#12 opened by fedemengo - 0
2.5 Document API errors
#11 opened by fedemengo