/legacy-librarian

GSSB Library Management System

Primary LanguageTypeScriptOtherNOASSERTION

GSSB Library App

This project contains the web app for the library of the GSSB.

The application consists of an AngularJS client talking to a node.js server backed by a mysql database (using the schema of the previous version of the library application which was based on MS WebMatrix).

Directory Structure

  • client2: new client web application (angular 5+)
  • server: node.js server
  • labels: A label printer server written in Python
  • scripts: A directory with operational scripts, such as backups and E-mail notifications.
  • sql: SQL schema and migration scripts for the DB
  • config: contains the config for the server and tools
  • doc: project documentation

Basic Setup

All commands needed to build and run the application are maintained in a Makefile. You can see the list of available commands using make help.

$ make
$ cp config/template.json.in config/prod.json
$ editor config/prod.json
$ make run-server
$ make client-dev

You can now access the application via http://localhost:4200.

Installing node modules (with npm)

$ npm install grunt
$ npm install grunt-bower-task --save-dev
$ npm install express --save
$ npm install express-session --save
...

More Documentation