Timelapse web app
This is Slim 3 API skeleton panoram for Composer. Project uses Spot as persistence layer, Monolog for logging, and Fractal as serializer. Vagrant virtualmachine config and Paw panoram files are included for easy development.
Install composer or type
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composerIf you have Vagrant installed start the virtual machine.
cd app
vagrant upNow you can access the api at https://192.168.50.52/todos
# nano .envBUCKET_URL=https://panoram.buk
APP_TITLE="Panoram | "nano public/js/config.js
var endpoint = 'https://api.panoram.net';
var bucket_url = 'https://bucket.exmaple.net';chmod -R 777 logs
php composer installThis is Slim 3 API skeleton panoram for Composer. Project uses Spot as persistence layer, Monolog for logging, and Fractal as serializer. Vagrant virtualmachine config and Paw panoram files are included for easy development.
Install composer or type
$ curl -sS https://getcomposer.org/installer | php
$ mv composer.phar /usr/local/bin/composerIf you have Vagrant installed start the virtual machine.
$ cd app
$ vagrant up# nano .envDEBUG_LEVEL=WARNING
APP_TITLE=Site title
APP_URL=http://panoram.net
APP_REDIRECT_AFTER_LOGIN=/
APP_AD_DUE="65 days"
APP_LISTING_PER_PAGE=20
APP_IMAGE_UPLOAD_MAX=5000
APP_HASH_SALT=********
APP_JWT_SECRET=********
APP_JWT_EXPIRATION="30 minutes"
API_CURRENCY_ID=********
BUCKET_URL=https://bucket.panoram.net
DB_NAME=panoram
DB_USER=root
DB_PASSWORD=********
DB_HOST=localhost
FB_APP_ID=********
FB_APP_SECRET=********
S3_EXTENSIONS=jpeg,jpg,png,gif
S3_RESOLUTIONS=120x80,480x360,800x600
S3_PROFILE_RESOLUTIONS=80x80,200x200
S3_EXTENSION=jpg
S3_QUALITY=90
MAIL_CONTACT=contact@panoram.net
MAIL_FROM=noreply@panoram.net
MAIL_FROM_NAME="El Equipo Panoram"
MAIL_SMTP_ACCOUNT=account@gmail.com
MAIL_SMTP_PASSWORD=********
MAIL_SMTP_HOST=smtp.gmail.com
MAIL_SMTP_AUTH=true
MAIL_SMTP_SECURE=ssl
MAIL_SMTP_DEBUG=0
MAIL_SMTP_PORT=465nano api/config/client_id.jsonchmod -R 777 logs
php composer installmysql -u root -p********Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> CREATE DATABASE panoram;cd bin && php db migrate
cd config && zcat Panoram_aux_data.sql.gz | mysql -u root -p******** panoramThe MIT License (MIT). Please see License File for more information.
