Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.
/ customerservice Public archive

A small demonstration showing the power of CouchDB and AngularJS

License

Notifications You must be signed in to change notification settings

josdejong/customerservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Customer Service

Customer Service is a demo showing the ease, power, and flexibility of a web application build with AngularJS for the user interface and CouchDB as database. The demo consists of a basic customer service application. One can create, edit, and delete customers. For each customer, one can create, edit and delete reports. The customers can be searched by name and by last updated.

The complete application consists of a single file: index.html. The file is only a few hundred lines of code, including everything: interface, controller, database, search queries. (Of course, for a serious application one should separate html, css, and javascript.)

Installation

To install the demo (on Ubuntu):

  • install CouchDB via the command

    sudo apt-get install CouchDB

  • open the web interface in your browser at http://localhost:5984/_utils

  • create a database, for example named "service"

  • in this database, create a document with id with an easy to remember id, for example "app", and save it.

  • in the document with id "app", add the file "index.html" as attachment

  • run the application in your browser via

    http://localhost:5984/service/app/index.html

Instead of installing CouchDB locally, one can create an account at a hosting service for couchdb, such as Cloudant.

References

About

A small demonstration showing the power of CouchDB and AngularJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published