This is a easy to setup and use police server CAD. Includes a signup/login for both Civilians and Police Officers. Also this is mobile friendly.
- Set Up MongoDB and start mongodb
- Clone repo from https://github.com/Linesmerrill/police-cad.git
- Run
npm install
to install dependencies. - Duplicate
.env.example
and rename the new file to.env
. Edit to your configurations. - Run
npm start
to boot up server. - Go to http://localhost:8080.
- Install mongodb via brew Step by step instructions
- Start mongodb via brew Step by step instructions
- Locally this will use the knoldus db (or whatever you specify manually)
- launch mongo via your command-line:
mongo
- Use
show dbs
to see all that are available. You should seeknoldus
in the list. - Lets use that db:
use knoldus
.