Udemy

Let's build a Node.js based CLI(Command Line Interface)

Realtime COVID-19 Vaccination slots tracking using CLI(Command Line Interface)
Free tutorial
Rating: 4.4 out of 5 (80 ratings)
3,238 students
1hr 9min of on-demand video
English
English [Auto]

Nodejs based cli creation
Working with different npm package

Requirements

  • Nodejs basic understanding
  • Javascript basic understanding

Description

In this course we will learn about how to create Node.js based CLI (Command Line Interface). We will be learning this by actually building one. So, what will we build? We will be building a COVID-19 vaccination slots tracker using CLI. This will call the live api and return the different slots available in your choice of district.

The only pre-requisite’s which I believe is you should know basics of Javascript and understand Node.js.

While building this CLI we will use and learn about the follow node package manager(npm)

  • Axios –for calling the different api’s.

  • Chalk – for beautifying the console output.

  • Commander – giving the different options and command in CLI such as cowin states or cowin districts <stateid>

  • Inquirer – for getting user input for entering the age filter.

  • Node-notifier – send desktop notification.

  • Tty-table – format our table output

Our CLI will perform the follow functions.

  • Ability to get all states and id’s.

  • Ability to get all district id's for a state id.

  • Ability to get slots by district id.

  • Ability to filter slots by ages as we have slots by 18-45 and 45 and above.

  • Apart from this beautification of the console output

  • Ability to send desktop notification


PS: The api in scope is for country India where vaccination drive is going on and availability of slots is very tough to get. The intention of making this was to help our developer community which is always busy in either terminal or their choice of code editor. So without leaving it we can get real time status. Apart from making CLI option of using scrapper or any automation software is always open

Who this course is for:

  • Nodejs Developers
  • Javascript Developers
  • Developers in general

Instructor

Technology Enthusiast
  • 4.3 Instructor Rating
  • 281 Reviews
  • 10,203 Students
  • 3 Courses

I have started my career in IT in 2006 with SAP ABAP. I have been working on technical things across different areas/modules since then. I have joined SAP Community in 2009 and loved to share my experience via blog posts, tweets etc. I believe in a very simple philosophy of learn, share and repeat. I love to spend my free time with my family.

Top companies trust Udemy

Get your team access to Udemy's top 30,000+ courses