zulhusni2003 / Task-List

This is a simple web application built using Laravel, a PHP framework, designed to help users manage their tasks effectively. Users can create, view, edit, and delete tasks, as well as mark them as completed or incomplete.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Task List

Installation

Please check the official laravel installation guide for server requirements before you start. Official Documentation

Clone the repository

git clone git@github.com:zulhusni2003/Task-List.git

Switch to the repo folder

cd Task-List

Install all the dependencies using composer

composer install

Copy the example env file and make the required configuration changes in the .env file

cp .env.example .env

Generate a new application key

php artisan key:generate

Run the database migrations (Set the database connection in .env before migrating)

php artisan migrate

Start the local development server

php artisan serve

You can now access the server at http://localhost:8000

TL;DR command list

git clone git@github.com:zulhusni2003/Task-List.git
cd Task-List
composer install
cp .env.example .env
php artisan key:generate

Make sure you set the correct database connection information before running the migrations Environment variables

php artisan migrate
php artisan serve

Database seeding

Open the DummyDataSeeder and set the property values as per your requirement

database/seeds/DummyDataSeeder.php

Run the database seeder and you're done

php artisan db:seed

Note : It's recommended to have a clean database before seeding. You can refresh your migrations at any point to clean the database by running the following command

php artisan migrate:refresh

Docker

To install with Docker, run following commands:

git clone git@github.com:zulhusni2003/Task-List.git
cd Task-List
cp .env.example.docker .env
docker run -v $(pwd):/app composer install
cd ./docker
docker-compose up -d
docker-compose exec php php artisan key:generate
docker-compose exec php php artisan jwt:generate
docker-compose exec php php artisan migrate
docker-compose exec php php artisan db:seed
docker-compose exec php php artisan serve --host=0.0.0.0

Usage

Once the installation is complete, you can use the task list application to manage your tasks.

About

This is a simple web application built using Laravel, a PHP framework, designed to help users manage their tasks effectively. Users can create, view, edit, and delete tasks, as well as mark them as completed or incomplete.


Languages

Language:PHP 76.5%Language:Blade 23.1%Language:JavaScript 0.3%Language:CSS 0.1%