/coalitioninc-task

coalitioninc-task desc.

Primary LanguageJavaScript

Coalitioninc Task

A simple broker-user registry

Usage

Clone repository with one of the following ways and start coding.

with HTTPS:

git clone https://github.com/barhantas/coalitioninc-task.git

with SSH:

git clone git@github.com:barhantas/coalitioninc-task.git

Prerequisites

Make sure that you have Node and python installed.

React App

Installation UI

cd coalitioninc-task
yarn install

Start UI

yarn start

Flask App

Installation Server

open new terminal and go to project path

cd coalitioninc-task/api
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
flask db init
flask db migrate -m "create tables"
flask db upgrade
python data-loader.py

Start Server

on the package.json root

yarn start-api

Pre-loaded brokers

default password is "123456"

agencyId = 1