This Symfony project is designed to manage insurance subscriptions for health, vehicle, and housing.
- Subscription Plans (Packs): Create, update, and delete subscription plans for health, vehicle, and housing insurance.
- Pack Categories: Organize subscription plans into categories for easy management.
- Insurance Guarantees: Define specific guarantees and coverage details for each subscription plan.
- User Management: Basic user authentication and authorization for managing subscription plans.
- PHP 7.4 or higher
- Composer
- Symfony CLI
-
Clone the repository:
git clone https://github.com/alaeddinewannassi/futura.git
-
Navigate into the project directory:
cd futura
-
Install dependencies using Composer:
composer install
-
Configure your environment variables by copying the .env file:
cp .env.test .env
-
Load sample data (optional):
php bin/console doctrine:fixtures:load
-
Generate SSH keys (optional, if you use JWT authentication):
mkdir -p config/jwt openssl genpkey -out config/jwt/private.pem -aes256 -algorithm rsa -pkeyopt rsa_keygen_bits:4096 openssl pkey -in config/jwt/private.pem -out config/jwt/public.pem -pubout
Start the Symfony development server:
symfony server:start
Open your web browser and visit http://localhost:8000 to access the application.
To execute tests, run:
symfony server:start
For more information on Symfony commands and best practices, refer to The Symfony Documentation.