Skip to content

Instantly share code, notes, and snippets.

Guide to Add a Feature to a Web App

Intro

This guide is generic in that it does pertain to any particular web framework, e.g., Express.

When the time comes to implement a user story (feature) in a typical web application, following the steps below usually is a good approach to take in most cases...

Perform CRUD Using Mongoose Models in a Node REPL

  1. Start by opening a terminal session and make sure that you are in the project's root folder.

  2. Start a Node REPL:

    $ node
    > 
.reveal li {font-size: 32px;}
.reveal ul ul li, .reveal ul ol li, .reveal ol ol li, .reveal ol ul li { font-size: 28px; }

click here to view as a presentation

<style style="visibility:hidden"> .reveal li {font-size: 32px;} .reveal ul ul li, .reveal ul ol li, .reveal ol ol li, .reveal ol ul li { font-size: 28px; } </style>

Intro To


This presentation can be viewed here



# Express Middleware