/telemetron

telemetry data experiment

Primary LanguagePHP

telemetron

telemetries test case

requirements

  • php v7.x
  • Mysql v5.7+
  • composer (global install perfered)
  • node v12.x (for frontend only)
  • yarn v1.16.x (for frontend only)

installation

  • create a database telemetron on your local mysql server

  • full install TL:DR; (skip to running environment)

git clone git@github.com:acidjazz/telemetron.git; cd telemetron/; yarn; composer install; cp .env.example .env; yarn logs; yarn mdi; ./artisan migrate:fresh; ./artisan process:json; yarn apicache;
  • clone from github
git clone git@github.com:acidjazz/telemetron.git
  • run yarn and composer install to install all of your deps
cd telemetron/; yarn; composer install
  • copy .env.example to .env and configure it to your likings
cp .env.example .env
  • run yarn logs to create laravels needed storage and yarn mdi to copy over the icons file
yarn logs; yarn mdi
  • run a fresh migration to get your db populated
./artisan migrate:fresh
  • import the json files via the console command
./artisan process:json

running the environment

  • run the front end and backend processes (preferably in seperate terminals)
yarn dev
yarn api
  • visit http://localhost:3000/ to view the data and links to the API endpoints

API only

  • just solely run yarn api and then visit http://localhost:8000/ for a route dump
  • endpoints are http://localhost:8000/api/flight and http://localhost:8000/api/flight/{id}

technology stack

laranuxt