djengineer / express-nodejs-starter-kit

Express Starter kit for quick prototyping Node.js webapps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express-Nodejs-Starter-Kit

by © djengineer 2018

Date updated: 03 April 2018

Purpose:

This starter kit includes a starting bootstrap jumbotron template using bootstrap-4.0.0, Node.js 8, Express and Embedded JS(EJS).

This is a basic template to jumpstart lightweight Node.js webapps using the Express(4) framework. This template also includes examples on how to parse data to the EJS frontend, templating and Rest elements

Installation:

  • Pull the files into a root working directory
  • Run the linux bash scripts
  • During npm init, enter the relevant details. It is possible to just leave it blank and hit enter. Do so for the details that will be prompted.

Running the server:

node server.js

Mongodb Server

// after installing mongodb from the linux scripts, use mongod for the mongodb server
mongod

// for mongodb shell, use mongo 
mongo

Model-View-Controller in the starter-kit

In the starter kit, we are using Students as models, routes in this case would be the controller in MVC.

Auth0

Auth0 integration is included

About

Express Starter kit for quick prototyping Node.js webapps.


Languages

Language:JavaScript 95.1%Language:HTML 4.4%Language:Shell 0.5%Language:CSS 0.0%