Skip to content
/ forum Public

An open source forum project based on Laravel and TDD.

Notifications You must be signed in to change notification settings

endonoh0/forum

Repository files navigation

Build A Forum with Laravel and TDD


This project is an open source forum based on Laracasts' Let's Build a Forum with Laravel video series.

Main Features

  • Users can browse threads by popularity, unanswered, and their own threads
  • Users can filter/search threads by a keyword
  • Users can subscribe to threads
  • Users can create, edit, delete, and favorite comments
  • Users can view their activity history

Screenshots

All Threads Page

Screenshot of all threads

Thread Page

Screenshot of a thread

New Thread

Screenshot of creating a new thread

Profile Page

Screenshot of a user's profile page

Installation

You must have PHP 7 installed as a prerequisite.

Step 1:

Clone this repository to your machine, and install all Composer dependencies.

git clone https://github.com/endonoh0/forum
cd forum && composer install
cp .env.example .env
php artisan key:generate
npm install && npm run dev
php artisan scout:import 'App\Thread'

Step 2:

Create a new database and reference its name and username/password within the project’s .env file.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=
DB_USERNAME=root
DB_PASSWORD=

Step 3:

Migrate your database to create the required tables.

php artisan migrate:fresh --seed

Step 4:

Input any number of “channels” into the channels table in your database. Next, clear your server cache.

php artisan cache:clear

Step 5:

Visit http://forum.test/threads to create a new account and publish your first thread.

Dependencies

  • PHP 7.x or above
  • algoliasearch
  • at.js
  • font-awesome
  • instantsearch.css
  • vue-instantsearch
  • cross-env
  • axios
  • laravel-mix
  • minimist
  • moment
  • resolve-url-loader
  • sass
  • sass-loader
  • vue
  • vue-template-compiler

About

An open source forum project based on Laravel and TDD.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •