This project is a to-do list application that combines a React frontend with a Symfony backend. The application allows users to create, view, update, and delete to-do items. This README outlines the key aspects of integrating React and Symfony and provides instructions for setting up and running the application.
- Frontend: React
- Backend: Symfony (PHP Framework)
- Create new to-do items.
- View a list of all to-do items.
- Update existing to-do items.
- Delete to-do items.
-
Clone the Repository:
git clone https://github.com/GuiFraV/ReactInSymfony cd ReactInSymfony
-
Install Symfony Dependencies:
composer install
-
Setup the Database:
-
Configure your database connection in .env file.
-
Run migrations:
php bin/console doctrine:migrations:migrate
- Install Node Modules for React:
-
Navigate to the directory containing your React application and run:
npm install
- Compile Assets with Webpack Encore:
-
In the root directory of the Symfony application, run:
npm run encore dev
symfony server:start