Skip to content

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. Built for GTA V's Modding framework: FiveM.

License

Notifications You must be signed in to change notification settings

Linesmerrill/police-cad

Repository files navigation

Lines Police CAD

lines police cad 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.

Running the backend server via our microservice

We have since began migrating most of our backend code to our police-cad-api. This is now required to be running in order to access certain parts of the app.

Follow along with the instructions on how to start and run that service here.

Once Running, you will need to add two new environment variables, you can an example of those here.

Setting up MongoDB

  1. Install mongodb via brew Step by step instructions
  2. Start mongodb via brew Step by step instructions

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.

About

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. Built for GTA V's Modding framework: FiveM.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published