This application is built with Laravel and Vite.
Before you begin, ensure you have the following installed:
- PHP >= 8.2
- NODE >= 22
- Composer
- NPM
Follow these steps to get your development environment running:
git clone https://github.com/NorMenMe/widget-app.git
cd widget-app# Install PHP packages
composer install
# Install Frontend packages
npm installOpen the .env file and update it with your API Key
On terminal's tab 1, in the root folder, create the SQLite database file:
touch database/database.sqliteIn the root folder, run migrations to set up the database tables:
php artisan migrateRun the server:
php artisan serveOn terminal's tab 2:
npm run devThe application will be accessible at http://localhost:8000.
If you change your .env file and don't see the changes in your app, run:
php artisan config:clear