Welcome to my Laravel To-Do List
A simple task manager built with Laravel, TailwindCSS, and SQLite.
Follow these steps to set up the project locally:
git clone https://github.com/NoAnswerss/to-do-list.gitcomposer install
npm installcp .env.example .envMake sure to update the
.envdatabase section to use SQLite (see below).
touch database/database.sqliteOr manually create a file named database.sqlite inside the database/ folder if you're using Windows.
Replace the database section in .env with the following:
DB_CONNECTION=sqlite
DB_DATABASE=${PROJECT_PATH}/database/database.sqliteReplace
${PROJECT_PATH}with the absolute path to your project folder. For example:
DB_DATABASE=C:/Users/YourUsername/Herd/to-do-list/database/database.sqlite
⚠️ Important: Use forward slashes (/), not backslashes (\) on Windows.
php artisan key:generatephp artisan migrateThis will create the necessary tables in the SQLite database.
php artisan serveThen visit:
To compile your CSS/JS using Laravel Mix:
npm run devFor production:
npm run build- Laravel 10
- PHP 8.x
- TailwindCSS
- SQLite
- Laravel Mix (Vite if migrated)
- Add, complete, and delete tasks
- Persist tasks in a lightweight SQLite database
- Clean UI using TailwindCSS
- Fully local setup — no MySQL required
Feel free to fork, clone, and improve! If you found this useful, drop a ⭐️ on the repo.