(this is school-project I used to learn about Twig & PHP)
A car market web-app for selling second-hand and new vehicles (currently only cars).
- PHP (7.3.2)
- Twig - php micro framework
- Slim v2 - view engine
- Eloquent db ORM - laravel's orm
- MySQL 5.7 - db
- Bootstrap v4.3 - html, css, js
git clone https://github.com/andrijanovakovic/carmarket.git
cd carmarket
composer install
composer dump-autoload
Before you visit the page on your localhost, you should import db schema through MySQL workbench, HeidiSQL or something else...
db schema is located in:
./db_backup/db_schema.sql
This app uses PHPMailer which uses Google's Gmail API to send e-mails. You should specify your own username (email) and password for that to work in:
./app/config/test.php
App mode is defined in:
./mode.php
This means that if the content of ./mode.php is "development", app will search for development.php
in:
./app/config/