Code Monkey home page Code Monkey logo

bkeller-node's Introduction

#Zza Node Mongo The "Zza Node Mongo" sample app is a single page application (SPA) built with Breeze, Angular, Node, and MongoDB.

Prerequisites

Install and use

Extract the database

The zza-mongo-database.zip file is the Zza application's MongoDB database. Extract it into the db folder.

You should see three new files in the db folder: "zza.0", "zza.1", and "zza.ns"

You only have to do this once.

Install dependent node modules

  1. Open a command/terminal window.

  2. Navigate to the Zza-Node-Mongo directory.

  3. Use npm to install the dependent packages enumerated in the package.json file:

     npm install
    
  4. Confirm that all of them ran without error (warnings are ok). You can close this window when you're done.

You only install these modules once.

Start the servers

Every time you run the application you must first launch two servers: the MongoDB server and the Zza application's node/express server.

  1. Open a new command prompt window.

  2. Start MongoDB by typing

    mongod --dbpath db	
    

    This launches the MongoDb server pointing to the folder with the zza database (see db installation above).

    Do not close this window. Closing the window will end the MongoDB process.

  3. Open a new command/terminal window.

  4. Navigate to the Zza-Node-Mongo directory.

  5. Start the app's node/express server by typing

    node server
    

    Do not close this window. Closing the window will end the node/express process.

Run Zza

Open localhost:3000 in a web browser to run the Zza application.

Release 0.8.0

  • Initial release.
  • Demonstrates fundamental characteristics of a MongoDB app accessed with Breeze.
  • Maintainable w/o any Microsoft assets at all, neither code nor development tools.

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.