Taco-Greco | CodeIgniter Todo-App

Return to projects

June 9, 2024

Written by: Taco Greco

CodeIgniter 4 Todo List Application

About the Application

This application is a todo list built using CodeIgniter 4, leveraging the Restful API approach for backend operations, HTMX for dynamic frontend interactions without full page reloads, and Bootstrap for responsive design. It showcases how to create a modern, interactive web application with a PHP backend.

Screenshot of the application

Download and View the Repository

For the complete source code, visit the GitHub repository:

View on GitHub

To clone the repository, use the following command:

git clone https://github.com/taco-greco/to-do-codeigniter 

Installation

  1. Install Dependencies: Navigate to the project’s root directory and run:
composer install

This command installs all required PHP dependencies.

  1. Environment Setup: Copy the env file to .env and adjust the settings to match your environment. Make sure to set the baseURL and configure your database settings.

  2. Database Migration: Run the following command to set up your database:

php spark migrate

This will create the necessary tables for the todo list application.

Running the Application

  1. Start the Server: From the project’s root directory, start the CodeIgniter server:
php spark serve
  1. Access the Application: Open your web browser and navigate to http://localhost:8080. You should see the todo list application running.

Features

Technologies Used