Coder Social home page Coder Social logo

linesmerrill / police-cad Goto Github PK

View Code? Open in Web Editor NEW
64.0 10.0 35.0 135.02 MB

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.

Home Page: https://linespolice-cad.com/

License: MIT License

JavaScript 81.84% CSS 2.82% HTML 1.05% SCSS 0.81% Less 0.01% EJS 13.47% Procfile 0.01%
gtav doj roleplay html javascript mongodb heroku hacktoberfest hacktoberfest2021 nodejs

police-cad's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.