DEV Community

Cover image for Getting started with Api development on Nodejs

Getting started with Api development on Nodejs

Rubin on September 08, 2019

Before we get our hands dirty and get a move on , I assume you have a sound knowledge of js .I am also assuming that you have nodejs installed on y...
Collapse
 
xgenvn profile image
Brian Ng

For me recently moleculer framework brings too much joy for API development with microservice approach.

Collapse
 
rubiin profile image
Rubin

For beginners who are migrating from frontend to backend or from other language like python, expressjs seems to be easiest for them in terms learning curve and complexity.

Collapse
 
xgenvn profile image
Brian Ng • Edited

I see moleculer is very lightweight and it brings the single-component approach for writing services, which is even easier for someone working on frontend before, with plain expressjs where we have to put many things into it:

  • Request validation
  • Documentation
  • Events
  • Logger
  • Database context
  • Security ...

But yes I agree expressjs is a good place to start.

Collapse
 
okbrown profile image
Orlando Brown

Considering all the questions being asked, and the things you plan to include, how about adding an upcoming schedule or list of all the topics you will cover over the course of time you deliver them. That way readers are informed ahead of time on how to follow and digest your content.

There are loads of tutorials of this kind, consider what is it that you bring that will be different from the rest.

Collapse
 
rubiin profile image
Rubin

sure thing. will be including that soon

Collapse
 
kamalhm profile image
Kamal

Why do you require morgan but never used it?

Collapse
 
rubiin profile image
Rubin

I will be covering that in the next post where I will be teaching on the usage of middlewares

Collapse
 
mfazz profile image
Matt

Will you be covering validation of the API requests? E.g. validating fields in the request using something like Joi?

Collapse
 
rubiin profile image
Rubin

Yeah sure. I have planned this on later in the series