Giter VIP home page Giter VIP logo

fraud-detector's Introduction

Fraud Detector App

An app that help Fraud Officers see transactions and figure out if it is fraudulent or not, depending upon many different parameters.

This app was boostrapped using a simple starter with frontend using Angular 4+ and API server with NodeJS and Express framework. Typescript is configured for both Frontend and API server.

Frontend is created using angular-cli. So we can use all of the angular-cli commands from client folder.

This app can be used in two different ways:

  1. Separate Frontend and API server.

  2. Both Frontend and API served through single node server in production.

Application Screenshot

Fraud Detector App View

Technology

  • NodeJS

  • Angualr

  • MongoDB

  • Typescript

Installation

  • clone this repository

  • npm run app-install to install all dependences

  • Ensure you have Mongo installed, if not download and install here

Docker

  • Pull image from docker hub by running docker pull melmichael/fraud-detector-app

  • Run the docker image. E.g. docker run -p 4200:4200 -p 5000:5000 melmichael/fraud-detector-app

Commands

  • Run mongod to get the mongo instance up and open a way for database connection.

  • npm run start: Starts both frontend and API server as separate live reload server. Frontend uses ng serve underneath and API server uses nodemon for live reload.

  • npm run build: Creates dist folder in both client and server folders.

  • npm run start:prod: Builds the client and server projects and starts it with NODE_ENV=production. This by default sets express.static to client/dist to use this node server to serve frontend also.

  • Visit localhost:4200 to view the client side and localhost:5000 for the server side.

fraud-detector's People

Contributors

mel-michael avatar shripalsoni04 avatar

Watchers

 avatar  avatar

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.