My first project written in June-July 2015.
Things that work:
- registration
- registration form's validation
- login
- password hashing
- income/expenses: user can view this week's and this month's income/expenses
- income/expenses: user can log his income and expenses based on categories (Ajax is used to avoid page reloading)
- responsive design (screenshots below)
Technologies used: PHP, Symfony2, Bootstrap, jQuery, Ajax, MySQL.
-
clone the repository
-
update Ubuntu repositories:
sudo apt-get update
-
go the the project directory and install composer (for non Ubuntu systems check the documentation):
sudo apt install composer
sudo apt-get install php7.0-xml
composer update
After that you will be asked to provide missing parameters, such as: database_name, database port (3306), etc.
-
install mysql-server:
sudo apt-get install mysql-server
-
create the database with matching database_name from step 3
CREATE DATABASE <database_name>
-
Install php-mysql driver:
sudo apt-get install php-mysql
-
run migrations:
php app/console doctrine:schema:update --force --complete
-
run the server:
php app/console server:run
Click on the url in the console. Registration window will open. After registration user is redirected to /login page. He can login to his account, log his expenses/income and logout. If user is already registered, he can go directly to /login page.