Skip to content

HarshadRanganathan/mean-nw-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MEAN Stack Task Manager Application (Angular 1.3, Node WebKit, Express, Socket, MongoDB)

Overview

This is a client server application with below components:

Client side:

Server side:

EASYTM

Prerequisites

Installing server dependencies

To install the server dependencies, navigate to the module 'easytm-server' and run below command from command-line:

npm install

This will install all the required dependencies for running the server.

Running your server

To start the server run below command from command-line:

npm start

Once the server has started successfully you should be seeing the message 'server started' on your command-line.

REST API's exposed by the server and their usage are documented in the README file available in the module 'easytm-server'

Running client application

To run the client application follow below steps:

  1. Install nw from npm

    npm install -g nw
    
  2. To install the app dependencies, navigate to the module 'easytm-app' and run below command from command-line:

    npm install
    
  3. Change to the app directory 'easytm-app' and run below command:

    nw .
    

We will be using nwbuilder for packaging our app

  1. Install nw-builder from npm

    npm install -g nw-builder
    
  2. Package your app with below command nw-builder reference:

    nwbuild -p <platform> <path_to_app>
    
    e.g. nwbuild -p win32 easytm-app/
    
  3. Navigate to the build folder and run the app 'easytm-app.exe'