Hello guys!
I start learning node js. It’s amazing language and i like it. But i need some help. Somebody who can direct me about project structure & code style and best practices. If you could help me i’ll be grateful.
Here (github: kurakste/NodeRestfull) is my study project.
Any feedbacks or recommendation are welcome.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
Right off the bat your project looks good. You've learned how to interact with the database and you've created routes. You have good separation of concerns. Maybe you could document your code by adding comments above each route that show what they do. You could even use something like JSdoc or write your own separate documentation.
I'm really happy to see someone enjoying Node.js
At the syntaxe level, you can use a linter like ESLint. Rules are personal, experience will make you like one over the other. AirBnB rules are a good start.
At best practice level @arsaw already answer you, but you could check tools like Code Climate. It's really easy to use with github.