Skip to content

Stackoverflow clone built using Laravel (RESTful-API) and ReactJs

Notifications You must be signed in to change notification settings

KhalidLam/AskMe-QA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

AskMe-QA

An Stackoverflow Clone using Laravel (server) & ReactJs (client)

Installation

Clone the repository:

git clone https://github.com/KhalidLam/AskMe-QA.git

Set Up Server (Laravel)

Change directory to muora-server:

cd muora-server

Install PHP dependencies:

composer install

If you don't have Composer installed, instructions here.

Install Javascript dependencies:

npm install

If you don't have Node and NPM installed, instructions here.

Create your environment file:

cp .env.example .env

Update these settings in the .env file:

  • DB_DATABASE (your local database, i.e. "askme")
  • DB_USERNAME (your local db username, i.e. "root")
  • DB_PASSWORD (your local db password, i.e. "")

Generate an app key:

php artisan key:generate

Run the database migrations:

php artisan migrate

Database Seeding

If you need sample data to work with, you can seed the database:

php artisan db:seed

Create storage shortcut

php artisan storage:link

Run the server:

php artisan serve

Set Up Client (React)

Change directory to react-qa-project:

cd react-qa-project

Install Javascript dependencies:

npm install

Run React app:

npm start

About

Stackoverflow clone built using Laravel (RESTful-API) and ReactJs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published