Live-Angular

server side JavaScript supporting RESTful web services for a CRUD application with an AngularJS front-end and socket js for live updates.

Module License: MIT

Added by: Sam Deering

GitHub

Repository

nitish1402/live-angular

Stats

Stars: 0

Watchers: 0

Forks: 1

Module Description

#Live Angular (PEAN App)# ![Gitter](https://badges.gitter.im/Join Chat.svg)

Server side JavaScript supporting RESTful web services for a CRUD application with an AngularJS front-end and nodejs for server and Postgres as database

##Demo## Application is hosted at heroku : http://guarded-journey-4504.herokuapp.com/

##Requirements##

##Setting up the database##

  • Create a database universitynew in Postgres.

  • Dump university.sql file or copy paste its content into sql editor

  • modifying dburl

  • go to /routes/services/services.js

  • find var dbUrl = "postgres://nitish:[email protected]:5432/universitynew"

  • change above line to var dbUrl = "postgres://[Username]:[Password]@localhost:5432/universitynew";

  • username and password are your Postgres authentication parameters.

##Installation##

  • Download and extract the repository.
  • Make sure that npm and nodejs are installed
  • run npm install in console
  • run npm start
  • In your browser open http://localhost:3001

##Future work## have to add socket.js support for live updates and enhance the app.

##Contact##

Module stats last updated: 2015-06-07 05:43:23

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!