Skip to content
This repository has been archived by the owner on Mar 5, 2018. It is now read-only.
/ consus Public archive

An inventory management system for MSOE Tech Support

License

Notifications You must be signed in to change notification settings

TheFourFifths/consus

Folders and files

NameName
Last commit message
Last commit date
Dec 16, 2016
Mar 19, 2017
Mar 21, 2017
May 11, 2017
May 18, 2017
May 18, 2017
May 18, 2017
Nov 29, 2016
Oct 5, 2016
Mar 21, 2017
Nov 4, 2016
Apr 10, 2017
Oct 2, 2016
Nov 29, 2016
Mar 21, 2017
Apr 13, 2017
Oct 2, 2016
Apr 12, 2017
Nov 29, 2016
Oct 2, 2016
Apr 26, 2017

Repository files navigation

Consus

Build Status codecov npm Dependency Status devDependency Status

Installing

# Install as a global module
npm install consus -g
# Start the server daemon
consusd start
# Stop the daemon
consusd stop

Developing

Getting Started

# Clone the repository
git clone [email protected]:TheFourFifths/consus.git
# Enter the project directory
cd consus
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm start

Development Scripts

  • npm test: Run the test suite
  • npm run delete-database: Delete all data in the database
  • npm run data-setup: Delete all data in the database, then add sample data
  • npm run lint: Run the linter
  • npm run build: Build the usable .dist directory
  • npm run coverage: Generate a code coverage report

Project File Structure

  • docs: Project documentation goes here
  • bin: A directory containing the consusd file for running as a global module
  • src: The project's source code
    • api: API apps that register and handle REST endpoints
    • lib: Miscellaneous library modules
    • public: Public files served to the web browser
    • store: Flux stores which contain state and consume actions
  • test: The project's tests
    • unit: Unit tests
    • functional: Functional tests