Giter Club home page Giter Club logo

askme-qa's Introduction

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

askme-qa's People

Contributors

khalidlam avatar

Stargazers

 avatar

Watchers

 avatar  avatar

askme-qa's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.