git clone https://github.com/guduchango/survey-laravel-react-vite-tailwind.git
cd ./survey-laravel-react-vite-tailwind.git
### Backend
cp ./.env.example ./.env
edit ./.env
with =>
----------
DB_DATABASE=my-database-name
DB_USERNAME=my-database-username
DB_PASSWORD=my-database-pass
----------
composer install
php artisan migrate
php artisan serve
### Frontend
cd ./react
edit ./.env
with =>
----------
VITE_API_BASE_URL=my-frontend-url
----------
npm install
npm run dev
npm run build
// search "dist" folder and copy files
- Login
- Sign Up
- Dashboard
- Surveys Grid
- Edit Survey
- Public Survey