Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spcbfr/bloodytwitter
For god's sake! bloody twittter?!
https://github.com/spcbfr/bloodytwitter
Last synced: 12 days ago
JSON representation
For god's sake! bloody twittter?!
- Host: GitHub
- URL: https://github.com/spcbfr/bloodytwitter
- Owner: spcbfr
- Created: 2023-10-29T12:22:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-16T20:05:17.000Z (12 months ago)
- Last Synced: 2023-11-17T12:39:51.616Z (12 months ago)
- Language: PHP
- Size: 245 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bloody Twitter!
![image](https://github.com/spcbfr/BloodyTwitter/assets/77839865/5c1cecab-7ad2-4ddb-8284-ffaa0b2b6c26)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
```bash
git clone https://github.com/spcbfr/BloodyTwitter.gitcd BloodyTwitter
```Install [composer](https://getcomposer.org/download/) if you don't have it already, next install PHP dependencies.
```bash
composer install
```laravel uses vite for HMR on the frontend, so go ahead and install the JS dependencies too.
```bash
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.
```bash
cp .env.example .envphp artisan migrate
```run the following command so that vite can generate our assets
```bash
npm run dev
```Finally, open the `artisan` development server, you're all set now
```bash
php artisan serve
```