In this article, you will learn to implement a rest endpoint and print a text.
const express = require('express')
const app = express()
app.get('/api', (req, res) => res.send('REST API is working!'));
app.METHOD(PATH, HANDLER);
nodemon app.js

git status
git app.js
git commit -m "Added api endpoint"