The Crimson Circle website dedicated to tracking and viewing service hours.
Install npm
and mongodb
if you don't already have them installed
brew install node
brew install mongodb
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
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
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