This project is a clone of Instagram built with Laravel, where users can create an account, share images, and comment on and like the posts of other users.
- Laravel - The web application framework used.
- Livewire - For dynamic interfaces.
- Tailwind CSS - For styling.
- MySQL - The database used.
To get a local copy up and running follow these simple example steps.
- PHP >= 8.1
- Composer
- NPM
- MySQL or another compatible database.
- Clone the repo
git clone https://github.com/andresjimenez11/devstagram-project.git
- Navigate to the project directory
cd devstagram-project
- Install PHP dependencies
composer install
- Create a copy of your .env file
cp .env.example .env
- Generate an app encryption key
php artisan key:generate
- Configure your database credentials in the
.env
fileDB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_database_user DB_PASSWORD=your_database_password
- Run the database migrations
php artisan migrate
- Install NPM dependencies
npm install
- Build assets for production
npm run build
To start the local development server, run the following command:
php artisan serve
Then, open your browser and navigate to http://127.0.0.1:8000
.
The Laravel framework is open-sourced software licensed under the MIT license.
Andrés Felipe Jiménez - @andresjimenez11
Project Link: https://github.com/andresjimenez11/devstagram-project.git