Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/albinvar/simple-social-media

A simple yet beautiful social media app built using laravel & livewire.
https://github.com/albinvar/simple-social-media

hacktoberfest hactoberfest-accepted hactoberfest2023 jetstream laravel laravel8 livewire mini-social mini-social-network simple-laravel-project simple-project social-media social-network

Last synced: 5 days ago
JSON representation

A simple yet beautiful social media app built using laravel & livewire.

Awesome Lists containing this project

README

        

Simple Social Media

The [project demo](https://social.w3net.space) is hosted for FREE 💝 on [Wexron Hosting](https://wexronhosting.com).

## Table of Contents
- [Introduction](#introduction)
- [Installation](#installation)
- [Features](#features)
- [Credits](#credits)
- [Contributing](#contributing)
- [License](#license)

## Introduction

A very Simple Social media web application built with laravel Jetstream and livewire.

The application is designed and tested to use conveniently without any issues.

## Features

- Built with Laravel 8
- Jetstream (Livewire + blade stack)
- Create posts
- Like posts
- Comment on posts
- Delete posts
- Delete Comments
- On-time image uploads
- Dynamic and Responsive Design
- Compile and minify assets (200 kb resources)
- Many more features....

## Installation

- Clone this repo using any method (https, ssh, gh cli)

- Set the configuration file using the command
``` cp .env.example .env ```

- Install all required packages via composer. ``` composer install ```

- Set up Database configuration inside .env file.

- Run the migration and seeder

```
php artisan setup
```
or
```
php artisan migrate --seed
```

- Install all dependencies via `npm` or `yarn` and Compile all assets based on your deployment environment.

#### Yarn (recommended)
```bash
#Install all dependencies
yarn

#Development
yarn dev

#Production
yarn prod
```

#### Npm
```bash
#Install all dependencies
npm install

#Development
npm dev

#Production
npm prod
```

- Create symbolic link
```
php artisan storage:link
```

- Start the local server using the command
```
php artisan serve
```

### Current Admin Credentials

You may use these credentials to log into your website. you can change these credentials shortly after logging in.

**Email** : [email protected]

**Password** : password

## Generating Dummy Data

Creates dummy data using faker library.
```
php artisan setup:dummy
```
or
```
php artisan db:seed --class="DummyDataSeeder"
```

## Clear Temporary Files
All files uploaded from Create Post form is stored on storage/app/livewire-tmp folder. The following command cleana all Temporary Files from server.
```
php artisan clean:temp
```

## Tests

```bash
php artisan test
```
## Credits

- [@albinvar](https://github.com/albinvar)

## License

[MIT](LICENSE) © Albin Varghese