The "Symfony Home Budget App" is a budgeting app for easier expense tracking.
- PHP 8.1.0 or higher;
- MySQL mariadb;
- Symfony 6
- Docker
- and the [usual Symfony application requirements][2].
1. clone the repository $ git clone [email protected]:jmucak/home-budget-app.git $ cd home-budget-app/ $ composer install
1. Configure .env file DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=8.0.32&charset=utf8mb4"
Create private and public .pem keys for jwt token. (config/jwt)
###> lexik/jwt-authentication-bundle ### JWT_SECRET_KEY JWT_PUBLIC_KEY JWT_PASSPHRASE
$ symfony console lexik:jwt:generate-keypair
More information at https://symfony.com/bundles/LexikJWTAuthenticationBundle/current/index.html
2. start docker container
$ docker compose up
3. start server
$ symfony server:start
Then access the application in your browser at the given URL (http://127.0.0.1:8000/ by default). API route is at "/api"