Giter VIP home page Giter VIP logo

ng-simple-rest-app's Introduction

#ng-simple-rest-app Simple rest app written in Angular

Demo

Online video demo: https://vimeo.com/111823715

Blog

http://stevenhollidge.blogspot.com/2014/11/ng-simple-rest-app.html

Source

https://github.com/stevenh77/ng-simple-rest-app

Pre-Requisites

Install Node.js

Install these NPM packages globally:

npm install -g bower karma karma-cli

Installing Packages

  • Open terminal
  • Type npm install
  • Type bower install

Test

Type karma start karma.config.js

Running

Type node server/serverjs and browse to http://localhost:3412

Client features

  • default page not being shown by the router
  • automatic conversion of Json strings into JavaScript dates (generic/aop approach)
  • date control bound to model object from a data service
  • select control databound to model from a data service
  • confirmation dialog
  • rest service calls for get, post, put, delete
  • bootstrap layout for form
  • form validation
  • app navigation from controller using location and window services
  • logging abstraction
  • promises for service calls including error handling
  • generic application level error handling
  • busy indicator
  • unit tests with mocks and promises
  • material design for form entry

Server features:

  • simple rest endpoints
  • compression
  • request logging to console
  • CORS enabled
  • object retrieved from JS array based on key
  • object removed from JS array based on key

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.