g-gar / traveloh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

traveloh

Requirements

  • Python > 3.0.0
  • Python virtualenv module
  • nodejs & npm
  • PHP fileinfo and pdo_sqlite extensions enabled
  • composer
  • laravel requirements info

Installation & configuration

Backend

cd backend/python
python -m venv .
python -m pip install -r requirements.txt

source bin/activate (on Unix)
Scripts\activate (on Windows)

Laravel installation

cd backend/laravel
# Create an empty file in database/database.sqlite
composer install
composer dump-autoload
# Seed tables with php artisan migrate_refresh --seed
php artisan migrate:refresh
php artisan apidoc:generate

Start the server by running php backend/laravel/artisan serve

It runs by default on http://localhost:8000/ and there is a documentation of the available API routes under http://localhots:8000/docs/

Frontend

cd frontend
npm install
ng serve --open

About

License:MIT License


Languages

Language:PHP 46.5%Language:TypeScript 26.1%Language:HTML 17.3%Language:CSS 6.3%Language:Python 2.3%Language:JavaScript 1.3%Language:Vue 0.2%