CaseX is an interactive web application and database solution optimized for the management of physical case data. CaseX is currently being developed in partnership with the Los Angeles Police Department Homicide Library Unit for the LMU Senior Capstone Project.
Install npm
and mongodb
if they are not already installed.
brew install node
brew install mongodb
mkdir -p /data/db
Ensure that user account running mongod has correct permissions for the directory:
sudo chmod 0755 /data/db
sudo chown $USER /data/db
git clone https://github.com/avartanii/CaseX.git
cd CaseX
npm install
- Start Database
mongod
- Start Server
In a new terminal window, navigate to the CaseX folder, then run the following command:
npm start
- Set up Database with Mock Data
In a new terminal window, navigate to the CaseX folder, then run the following command:
npm run db-setup
Run Tests
npm test
Lint Code
npm run lint