Skip to content

spcbfr/BloodyTwitter

Repository files navigation

Bloody Twitter!

image

A few weeks ago (as of november 2023) I went through the Laravel Bootcamp to build a simple twitter clone, I loved it so much that I decided to remake it on my own fully unguided. in the process I added a bunch of features:

  • Like functionality
  • A profile page
  • Authentication with username instead of email
  • in-app notifications (coming soon!)

How to use

Clone the repo

git clone https://github.com/spcbfr/BloodyTwitter.git

cd BloodyTwitter

Install composer if you don't have it already, next install PHP dependencies.

composer install

laravel uses vite for HMR on the frontend, so go ahead and install the JS dependencies too.

npm install

Laravel has built-in migrations, to execute these migrations, first create the environment variable by copying the provided .env.example then run the laravel migrate command. note that the migrate command will create a new sqlite database in BloodyTwitter/database/database.sqlite if everything is done correctly.

cp .env.example .env

php artisan migrate

run the following command so that vite can generate our assets

npm run dev

Finally, open the artisan development server, you're all set now

php artisan serve

About

For god's sake! bloody twittter?!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages