/Service_App

The Crimson Circle website dedicated to tracking and viewing service hours.

Primary LanguageJavaScript

Service App

LMU Crimson Circle Build Status Codecov Dependency Status Dev Dependency Status Known Vulnerabilities

The Crimson Circle website dedicated to tracking and viewing service hours.

Requirements

Install npm and mongodb if you don't already have them installed

brew install node
brew install mongodb

Installation

Download and install packages

git clone https://github.com/jkkealii/Service_App.git
cd Service_App
npm install

Configure server with config file to go into config/set_db.sh

echo 'mongodb://localhost:27017/db'

Alternately, get the most recent config folder from Slack

Using Database

Initialize MongoDB for Service App

npm run db-init

Start Database

npm run db-start

Stop Database

npm run db-stop

Reset Database (stop, initialize, start)

npm run db-reset

Running & Development

Start the server

npm start

Alternately, start server to auto restart when a file changes, provided by nodemon

npm run nodemon

Run Tests

npm test
npm run lint