Giter Site home page Giter Site logo

project-05's Introduction

Node Express MVC EJS Bootstrap Starter app

A sample starter app using:

  • Node.js platform
  • Express web framework
  • EJS templating engine
  • MVC design pattern
  • Mongoose MongoDB object modeling
  • Lodash for JavaScript object iteration and manipulation
  • jQuery library for DOM manipulation
  • BootStrap Material Design framework for responsive design
  • nedb In-memory database
  • Winston logger

Links

Prerequisites

Following must be downloaded, installed, and configured according to the product directions:

  1. Node.js and npm
  2. Git version control system
  3. If Windows, TortoiseGit
  4. Add "Open PowerShell Here as Administrator" to context menu. Download and run file from https://github.com/profcase/open-command-window-here-as-admin.

Code Editor

  1. Install Visual Studio Code.
  2. Right-click on your project folder and select "Open with Code".
  3. RECOMMENDED: Under VS Code menu "File" option, check "Autosave".
  4. OPTIONAL: To type commands from within VS Code, from the VS Code menu, select View / Terminal.

Get started

Fork this repo into your own cloud account.

Clone your repo down to your local machine.

Review Code Organization

  • app.js - Starting point for the application. Defines the express server, requires routes and models. Loads everything and begins listening for events.
  • controllers/ - logic for handling client requests
  • data/ - seed data loaded each time the application starts
  • models/ - schema descriptions for custom data types
  • routes/ - route definitions for the API
  • utils/ - utilities for logging and seeding data
  • views/ - EJS - embedded JavaScript and HTML used to create dynamic pages

Install Nodemon Globally

In your new project folder, right-click and "Open PowerShell Here as Administrator". Install nodemon globally to enable live updates.

> npm install -g nodemon

Install Project Dependencies

Run npm install to install the project dependencies listed in package.json.

> npm install

Run the App Locally

In your project folder, right-click and "Open PowerShell Here as Administrator". At the prompt, type nodemon app.js to start the server. (CTRL-C to stop.)

> nodemon app.js

View Web App

Open browser to the location displayed, e.g. http://localhost:8089/

Team Members

  • Ravi Kumar Atluri
  • Varun Goud Pulipalpula
  • Bala Gopi Krishna Sabbineni
  • Midhun Kandakatla

project-05's People

Contributors

ravikumaratluri avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.