Skip to content
The Crimson Circle website dedicated to tracking and viewing service hours.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
crimson_on_rails
old_parse_cloud
old_server
resources
routes
static
templates
test
.eslintignore
.gitignore
.travis.yml
README.md
codecov.yml
package-lock.json
package.json
server.js

README.md

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
You can’t perform that action at this time.