Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 1.5 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.5 KB

Lines Police Server - CAD

lines police server logo

build Repository dependencies Status

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.

Requirements :

  1. Node.js
  2. MongoDB

Getting Started with Code :

  1. Set Up MongoDB and start mongodb
  2. Clone repo from https://github.com/Linesmerrill/police-cad.git
  3. Run npm install to install dependencies.
  4. Duplicate .env.example and rename the new file to .env. Edit to your configurations.
  5. Run npm start to boot up server.
  6. Go to http://localhost:8080.

Setting up MongoDB

  1. Install mongodb via brew. brew install mongodb
  2. Start mongodb via brew. brew services restart mongodb

Accessing the Database

  1. Locally this will use the knoldus db (or whatever you specify manually)
  2. launch mongo via your command-line: mongo
  3. Use show dbs to see all that are available. You should see knoldus in the list.
  4. Lets use that db: use knoldus.