This project is a web application built using PHP, JavaScript, React, and TypeScript. It uses Composer for PHP dependencies and npm for JavaScript dependencies. The project includes user management and API token generation functionalities.
- PHP 8.1 or higher
- Composer
- Node.js and npm
- Docker and Docker compose
-
Clone the repository:
git clone https://github.com/your-username/your-repository.git cd your-repository
-
Install PHP dependencies:
composer install
-
Install JavaScript dependencies:
npm install
-
Set up the database:
php bin/console doctrine:database:create php bin/console doctrine:schema:update --force
-
Load fixtures:
php bin/console doctrine:fixtures:load
-
Run Test
php bin/phpunit
-
Start the development server:
symfony server:start
-
Build the frontend assets:
npm run dev
-
Access the application: Open your browser and navigate to
http://localhost:8000
.
.
├── assets
│ ├── React
│ │ └── app.tsx
│ ├── styles
│ │ └── app.css
├── src
│ ├── DataFixtures
│ │ └── AppFixtures.php
│ ├── Entity
│ │ └── ApiToken.php
│ ├── Factory
│ │ └── ApiTokenFactory.php
├── composer.json
├── package.json
└── ...
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE
file for more details.