Skip to content

A message board where users can interact with one another via posts and replies. Features include - an admin panel, related posts, enable/disable comments and topics/categories.

License

Notifications You must be signed in to change notification settings

chiragobhan/laravel-forum

Repository files navigation

Forum App using Laravel

A message board where users can interact with one another via posts and comments. Features include - an admin panel, related posts, enable/disable comments and topics/categories.

Pre-requisites

  1. XAMPP / WAMP Server
  2. Composer
  3. Laravel

Getting Started

Step 1

Download or Clone this repository.

Step 2

Rename .env.example to .env

Step 3

Open your terminal, navigate to the project and run:

composer install

This might take a few minutes and will install all the required dependencies for the project

Step 4

Start your Apache and MySQL server using XAMPP or WAMP and make a new database. For example, "forum"

Step 5

Enter the database details in .env file as below:

.env

Step 6

For migrating tables to database run the following command by navigating to the project directory:

php artisan migrate

Step 7

Now we need to generate the missing APP_KEY in .env file (line 3).

key

To generate one, run the following command in your terminal:

php artisan key:generate

generate-key

This command will generate and add the key in .env file:

key-generated

Step 8

Finally, run this command to see the project in action:

php artisan serve

Change user type

Navigate to users table and set type as "admin"

About

A message board where users can interact with one another via posts and replies. Features include - an admin panel, related posts, enable/disable comments and topics/categories.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages