Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A tapas module to provide a user directory
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
properties
public
src
test
views
.gitignore
.ndistro
Readme.md
build.xml
index.js

Readme.md

Tapas Directory

A Tapas (Team Application Platform And Services) module which provides a user directory API and admin interface.

Dependencies

Dependencies are all managed from nDistro so that all files are copied and executed in a relative directory, making the application self contained without requiring the need to add modules to the system. This is desirable as we may have many applications requiring different versions on the same server.

A copy of nDistro will need to be installed, instructions are on the project page.

Build

This example uses Apache Ant as a build script. Currently this build script does the following:

  • creates a build directory
  • copies all relevant files into the build directory
  • executes nDistro

This build script should also start the application, run tests against it and then shut the application down. It should generate appropriate reports and be executed in a continuous integration environment.

The API

Tapas is heavily API driven and is intended to provide your applications with a performant API layer and a simple admin area to manage your content.

Running Directory

Authentication credentials are bootstrapped with username/password of admin/password. This will allow you to create users to get you started. This is currently hardcoded in src/controllers/auth.js

Run the app as a system daemon by passing the start argument

    ./bin/node index.js start &

Stop the app by passing the stop argument

    ./bin/node index.js stop
Something went wrong with that request. Please try again.