Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

##Simple Server Examples

Different ways you can scaffold your simple express app. Includes mongoose and swig.

###How to Follow Along

  1. Download the package.json, views and sever_old.js from the repo.
  2. Open a terminal and type: mongod
  3. Open another terminal and type: npm install
  4. convert server_old into classes

server.js - using const and =>

server2.js - uses classes

server_old.js - starting code