This project demonstrates how to implement a simple HTTP server in Node.js using different asynchronous patterns: plain callback, async library, and RSVP library.
simpleNode/routes.js
simpleNode/controller.js
npx nodemon server
2. ServerAsync (using Async Approach)
async/routes.js
async/controller.js
npx nodemon serverAsync
3. serverRSVP (using RSVP Approach)
rsvp/routes.js
rsvp/controller.js
npx nodemon serverRSVP
- Navigate to the project directory
- npm install
- npm install --save-dev nodemon