MVC Demo repo

Description

Demo repo with basic folder structure for a Express server that is sending data, private and public routes.

Usage

To simulate being logged in or logged out co into /src/middleware.auth.js and change the value of the isLoggedIn to either true or false.

Installation

  1. After cloning the repo, run npm install to install the dependencies.
  2. Run npm run dev to run the server in dev mode.