Breve descrizione del progetto: Il progetto CRUD (Create Read Update Delete ) ha solo lo scopo di illustrare l'utilizzo di due framework noti come Laravel e React
- Server web: Configurare XAMPP o altri software per server web multipiattaforma per l'utilizzo di Apache e MySQL
- PHP 8
- Composer: Assicurati di avere Composer installato nel tuo sistem. Puoi verificare se è già installato eseguendo composer -v nel terminale.
- Node.js 20 e npm: È necessario installare Node.js e npm per gestire le dipendenze e gli script di build per il progetto React. Verifica se sono installati eseguendo node -v e npm -v nel terminale.
Per installare il progetto, seguire i passaggi seguenti:
-
Clonare il repository da GitHub.
-
Creare un database nominato 'react'
-
eseguire l'installazione delle dipendente di node con
npm run install:dependenciesper installare composer per Laravel e installare le dipendenze node -
eseguire su terminale il comando
npm run migrate -
se si vuole aggiornare il database
npm run migrate:fresh -
Eseguire il comando
npm startper avviare il software sul proprio server -
Per arrestare il software premere contemporanemente i tasti CTRL+C e infine nel terminale
npm stop run.
Se desideri contribuire a questo progetto, segui questi passaggi:
- Fork del repository.
- Creare un nuovo branch (
git checkout -b feature/AmazingFeature). - Eseguire il commit delle modifiche (
git commit -m 'Add some AmazingFeature'). - Effettuare il push del branch (
git push origin feature/AmazingFeature). - Aprire una Pull Request.
Project Description:
The CRUD (Create Read Update Delete) project is designed to showcase the usage of two well-known frameworks, Laravel and React.
- Web Server: Configure XAMPP or other cross-platform web server software for Apache and MySQL usage.
- Composer: Make sure you have Composer installed on your system. You can check if it's already installed by running
composer -vin the terminal. - Node.js and npm: You need to install Node.js and npm to manage dependencies and build scripts for the React project. Check if they are installed by running
node -vandnpm -vin the terminal.
To install the project, follow these steps:
- Clone the repository from GitHub.
- Create a database named 'react.'
- Run the installation of node dependencies with
install:dependenciesto install Composer for Laravel and node dependencies. - Run the command
npm run migratein the terminal. - If you want to update the database, run
npm run migrate:fresh. - Run the command
npm startto start the software on your server. - To stop the software, press CTRL+C simultaneously, and finally in the terminal
npm stop run.
If you want to contribute to this project, follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push the branch (
git push origin feature/AmazingFeature). - Open a Pull Request.