generator-socket-ng1

1.1.0 • Public • Published

generator-socket-ng1

Generates the boiler-plate code for using AngularJS client with Socket.io in the backend to develop realtime projects.

Getting started.

First, install Yeoman and generator-socket-ng1 using npm (we assume you have pre-installed node.js) - if you need to manage multiple versions of node also consider nvm.

Once node is installed, run this in your terminal.

npm install -g yo generator-socket-ng1

Then generate your new project:

yo generator-socket-ng1

Directory structure

  |
  |-->public
  |     |--> index.html
  |     |--> images
  |     |       |--> favicon.ico
  |     |--> scripts
  |     |       |--> app.js
  |     |       |--> controllers
  |     |       |--> services
  |     |--> styles
  |     |       |--> app.css
  |     |--> views
  |--> app.js
  |--> LICENSE.md
  |--> package.json
  |--> README.md
  |--> .gitignore
  

Sample Usage

Running the generator

generator

Running the server of generated app

server

Client app

client

Build Setup

# install dependencies
npm install

# run linting tests
npm run pretest

# run all tests
npm test

License

MIT © Ramkrishna Pattnaik

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    0
  • 1.0.5
    1
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i generator-socket-ng1

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

28.8 kB

Total Files

17

Last publish

Collaborators

  • rkpattnaik780