das2011 / orams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ORAMS

A website to manage prices for the ATO ORAMS panel.

Backend

The API runs at http://localhost:5000.

cd backend
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

# run app
make app_run

# tests 
# (note that you must have a db with the same name as your host machine)
./scripts/run_tests.sh

# non-DB tests
./scripts/run_unit_tests.sh

Frontend

The frontend node server runs at http://localhost:60000.

cd frontend
npm i

# run build and watch files
npm run build:development

# run node server
npm run server:development

# tests
npm test

Local Proxy

On local, /api frontend calls are proxied to http://localhost:5000.

About

License:Creative Commons Attribution 4.0 International


Languages

Language:JavaScript 46.6%Language:Python 45.6%Language:HTML 4.3%Language:CSS 3.1%Language:Shell 0.2%Language:PLpgSQL 0.2%Language:Makefile 0.1%