Skip to content

adraneia/todo_app_php

Repository files navigation

HOW TO RUN THE PROJECT

  1. Clone or download this project from GitHub
    If cloning: git clone https://github.com/adraneia/todo_app_php.git
    Or download ZIP and extract it

  2. Open the project folder in your terminal
    Install PHP dependencies
    composer install

  3. Install Node dependencies (optional, only if you are compiling assets)
    npm install

  4. Create a new .env file
    Copy the existing .env.example file and rename it to .env

  5. Configure the database inside .env:
    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=your_database_name
    DB_USERNAME=root
    DB_PASSWORD=

  6. Generate the Laravel key
    php artisan key:generate

  7. Run database migrations
    php artisan migrate

  8. Start the development server
    php artisan serve

  9. Visit this URL in the browser:
    http://127.0.0.1:8000

NOTES

  • Make sure MySQL is running
  • Run "migrate:fresh" if you want to reset the database during development

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages