Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 465 Bytes

File metadata and controls

28 lines (15 loc) · 465 Bytes

pirple-nodejs-first-RESTful-api

Pirple restful api lesson

Description

Simple API built folowing pirple the-nodejs-master-class

Usage

In the terminal, cd to the project's folder and run the following command

// defaut environment
node index.js

// or choose environment
NODE_ENV=production node index.js

The next message will appear : ‘The server is listening on port 3000’

To send a request, use ports 3000, and 3001.

happy coding