Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write content for README file #1

Open
gasl opened this issue Jul 31, 2013 · 1 comment
Open

Write content for README file #1

gasl opened this issue Jul 31, 2013 · 1 comment
Assignees

Comments

@gasl
Copy link
Member

gasl commented Jul 31, 2013

Start drafting

@ghost ghost assigned gasl Jul 31, 2013
@gasl
Copy link
Member Author

gasl commented Jul 31, 2013

Crafity Webserver Dependency status Travis Build Status NPM Module version

Sample Code

var process = require('crafity-webserver');

Webserver Guts for a Business web app

What ought a webserver to do in order to cater the minimum facilities for a business-line application?
It needs to cover the following common scenario's:

  • http IP address and port number for all request-and-responce traffic
  • cookies and session information
  • error handling and a configurable explicitness
  • configurable exposition of a fileserver - what directories and file extensions are to be exposed
  • other implementation specific routines, e.g.
    • compiling some convenient CSS preprocessor into *.css files.
    • location of GUI view files and possibly
  • authentication and authorization information
  • locations to baseUrl, static, fonts, images, scripts, styles
  • resources for multilingual support

PREPARATION

Before you start using crafity-templates you must install all its dependencies. They are listed in _package.json_ file under key _dependencies.
Install them first by running command on the terminal from _crafity-modules
as current directory:

    $ npm install

After the dependencies have been installed, run the unit tests to check the sanity of the module. From the command line
and current directory _crafity-modules_ type the command:

    $ npm test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant