Skip to content

itsrafsanjani/laravel-instagram-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaraGram - Laravel Instagram Clone

laragram banner

Laragram is a social media app like Instagram.

Setup Instructions

Clone this repository to your device and run this commands:

Copy .env.example file to .env

cp .env.example .env

Configure .env file with your own credentials

With Docker

# give permission to the storage folder of the application
chmod -R 775 storage
chmod -R 775 bootstrap/cache

# storage symlink
docker exec -it php /bin/sh -c "cd public && ln -s ../storage/app/public storage"

# start the docker containers
docker compose up

# to access the php container, use this command
docker exec -it php /bin/sh

    # install composer from the php container
    composer install
    
    # install npm packages
    npm install
    
    # build for production
    npm run build

    # generate the application key using the following command
    php artisan key:generate
    
    # migrate the tables to the database and seed fake data for testing
    php artisan migrate --seed

# check running docker containers status
docker compose ps

# shut down all running docker containers.
docker compose down

Without Docker

composer install

npm install

php artisan key:generate

php artisan migrate

npm run dev

php artisan storage:link

Some Screenshots

  • Newsfeed newsfeed

  • Explore expolore

  • Post Details post details

  • Users list users list

  • More menus More menus

  • Notifications Notifications

  • Edit profile Edit profile

  • Profile page Profile page

  • Wallet with SSLCommerz Wallet with SSLCommerz

  • Referral system Referral system

  • Chat Chat

  • Chat Chat

  • Follow email notification Follow email notification

  • Usernames rules Usernames rules

If you like this app don't forget to give a star! ⭐
Thank You!