1.6.4 • Published 8 years ago

workjs v1.6.4

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

WorkJS Quick Start

WorkJS is a Web Application Framework with WebSocket support based on node.js It uses html5 features and does not care to support old web clients.

Objectives

  • The Map: write a site map to define how urls and http methods are served.
  • Nonstop: a bug in the application code must not crash the server.
  • SQL: use PostgreSQL, a technically mature database backend.
  • Logging: detailed logging - messages, access, debugging with time stamps.
  • Reload: automatically (watch your files) or manually reload on changes without server restart.
  • WebSockets: a WorkJS application can be constructed from multiple WebSocket based singel page applications.

Basic Conditions

  • WorkJS does not care about old browsers.
  • WorkJS does not care about backwards compatibility.
  • WorkJS requires the newest components - e.g. PostgreSQL 9.5
  • WorkJS is built for Linux.

Quick Start

Installation

You need a working node.js installation and npm to install WorkJS.

You also need a PostgreSQL database server (9.5) with a new database. We use PostgreSQL 9.5 as it now provides features like "INSERT ON CONFLICT DO UPDATE" and "CREATE INDEX IF NOT EXISTS". PostgreSQL installation: http://www.postgresql.org/download/linux/ How to install PostgreSQL 9.5 on Ubuntu/Debian/Linux Mint: http://raonyguimaraes.com/installing-postgresql-9-5-on-linux/

For a quick start install the WorkJS package and start the "workshow" demo application. Edit CONF to match your PostgreSQL server and database name. Start the application.

[sudo] npm cache clean
[sudo] npm install -g workjs
workjs -c workshop
cd workshop
vi CONF
npm install
npm start

Direct your browser to port 3000.

License

MIT

1.6.4

8 years ago

1.6.3

8 years ago

1.6.2

8 years ago

1.6.1

8 years ago

1.6.0

8 years ago

1.5.1

8 years ago

1.5.0

8 years ago

1.4.3

8 years ago

1.4.2

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.3.5

8 years ago

1.3.4

8 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.7.2

9 years ago

0.7.1

9 years ago

0.7.0

9 years ago

0.6.0

9 years ago

0.2.0

10 years ago

0.1.0

10 years ago