Thit is a complete Twitter clone made in PHP + Laravel using TALL (Tailwind, Alpine.JS, Laravel and Livewire). It's not just frontend: is a complete front & backend & database & authentication project.
Have fun!
📌 At the moment, this is the frontend (May 25th 2023):
- Clone the project
- To install all dependencies, go to the project root directory and run
composer install
andnpm install
. - Create
.env
file and copy content from.env.example
and set your MySQL DB connection variables (DB_USERNAME and DB_PASSWORD) at.env
file. - Create a Pusher account and create an channel setting Laravel as Backend for monitoring the application with WebSocket.
- Get your PUSHER_APP_ID, PUSHER_APP_KEY and PUSHER_APP_SECRET an set them in your
.env
file. - Run migrations by executing
php artisan migrate
. - (optional) I made possible to you generate some example tweets by using a TweetSeeder. For that, run
php artisan db:seed
. - Start the project by running
php artisan serve
and start the Vite server (for serving css and js files) by runningnpm run dev
.
Bruno Groth GitHub | LinkedIn | Portfolio
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
Give a ⭐ if you like this project!
Special thanks for Pinguim do Laravel tutorial on this video.
This project is open-sourced software licensed under the MIT license.