Skip to content

c-v-pop/to-do-list

Repository files navigation

Laravel To-Do List

Welcome to my Laravel To-Do List

A simple task manager built with Laravel, TailwindCSS, and SQLite.

🚀 Installation & Setup

Follow these steps to set up the project locally:

1. Clone the repository

git clone https://github.com/NoAnswerss/to-do-list.git

2. Install backend & frontend dependencies

composer install
npm install

3. Copy and configure the environment file

cp .env.example .env

Make sure to update the .env database section to use SQLite (see below).

4. Create the SQLite database file

touch database/database.sqlite

Or manually create a file named database.sqlite inside the database/ folder if you're using Windows.

5. Update the .env file to use SQLite

Replace the database section in .env with the following:

DB_CONNECTION=sqlite
DB_DATABASE=${PROJECT_PATH}/database/database.sqlite

Replace ${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.

6. Generate the application key

php artisan key:generate

7. Run the database migrations

php artisan migrate

This will create the necessary tables in the SQLite database.


💻 Usage

Start the Laravel development server

php artisan serve

Then visit:

http://127.0.0.1:8000


⚙️ Build Frontend Assets

To compile your CSS/JS using Laravel Mix:

npm run dev

For production:

npm run build

🧠 Tech Stack

  • Laravel 10
  • PHP 8.x
  • TailwindCSS
  • SQLite
  • Laravel Mix (Vite if migrated)

✅ Features

  • Add, complete, and delete tasks
  • Persist tasks in a lightweight SQLite database
  • Clean UI using TailwindCSS
  • Fully local setup — no MySQL required

🤝 Contributions

Feel free to fork, clone, and improve! If you found this useful, drop a ⭐️ on the repo.


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages