API Register

Hi people!!

Today, I will make do a little demonstration about this API.

mkdir appRegister
cd appRegister
npm init
npm install --save express body-parser mongoose
touch index.js
touch registerController.js
touch registerModel.js
touch registerRoutes.js
index.js file
registerController.js file
registerModel.js file
registerRoutes.js file
node index.js

And the results were as follows:

API result after running the command
API result using Postman



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store