Skip to content

A simple Twitter clone app built using laravel.

Notifications You must be signed in to change notification settings

durlavkalita/tweety

Repository files navigation


Tweety

Twitter clone app. Built using Laravel.


Laravel Mysql Tailwind Contributions License

About

Tweety is a twitter clone built using laravel 8. It uses mysql database. Tailwindcss has been used to style the web app. Tweety is a project from Laravel from scratch course available on Laracasts. Follow Laracasts for some great learning content. This project is just an extended and new version of the original one with some added features. There are still some features waiting to be added. Any contribution or feature added will be much welcomed 😄.

Installation

# Clone this repository
$ git clone https://github.com/durlavk98/tweety

# Go into the repository
$ cd tweety

# Install dependencies
$ composer install

# Copy .env.example to .env or rename it to .env
$ cp .env.example .env

# Generate application key
$ php artisan key:generate

How To Use

To use/run tweety you need to configure your mysql database and add database details to the .env file.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=tweety
DB_USERNAME=<your database username>
DB_PASSWORD=<your database password>

Once this is complete you can start the app by-

# Run the migration
$ php artisan migrate

# Install npm dependencies
$ npm install
$ npm run dev

# Run the app
$ php artisan serve

The application should start on localhost:8000

To upload image, configure storage link in filesystem.php and run-

$ php artisan storage:link

Credits

Related

tweety-vue - Tweety app built using vuejs

License

MIT

Todo

  • The profile page banner image and description are hard-coded. Make these dynamic for each user.

  • Add the ability to attach an image when publishing a tweet.

  • There is currently no way to unlike a tweet. Add the ability to toggle a like.

  • Add a pop-up flash message when a user publishes a tweet or follows someone.

  • Consider adding Laravel Livewire to allow for more interactive forms.

  • When writing a new tweet, display the number of remaining characters they're allowed.

  • Allow tweets to be deleted.

  • Add support for mentions and notifications.

  • Work on responsiveness.

Some of my other project on laravel


@durlav  ·  Linkedin @durlavkalita ·  Medium @durlavkalita  ·  Twitter @durlavk98

About

A simple Twitter clone app built using laravel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published