GithubHelp home page GithubHelp logo

edomaru / laravel-qa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tutsprime/laravel-qa

2.0 1.0 3.0 3 MB

Question & Answer Application built with Laravel 5

License: MIT License

PHP 64.16% Vue 18.52% Shell 0.31% Blade 17.01%

laravel-qa's Introduction

Laravel Q/A

Laravel Q/A is an application that replicate StackOverlow. Users can ask a questions or answer other user's questions.

Installation

  1. Download the code by clicking Code, Download ZIP. Or if you have Git install in your machine, you can run this in your teminal.
git clone [email protected]:tutsprime/laravel-qa.git
  1. Change directory to your local copy of laravel-qa in your terminal. Then install composer dependencies.
composer install
  1. Copy .env file from .env.example. In NIX machine you can use this command.
cp .env.example .env
  1. Prepare a database. You can use this command.
mysql -uroot -e "CREATE DATABASE laravel_qa"

If you have password for your database, you need to specify -p on the command.

  1. Configure your database settings in .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel_qa
DB_USERNAME=root
DB_PASSWORD=
  1. Migrate database tables and seed them with fake data
php artisan migrate --seed
  1. Generate a key for you application
php artisan key:generate
  1. Generate passport encryption keys
php artisan passport:install
  1. Install frontend dependencies.
npm install
  1. Run laravel mix
npm run watch

Your local copy of laravel-qa is ready to access in your browser ;)

laravel-qa's People

Contributors

dependabot[bot] avatar edolabera avatar edomaru avatar tutsprime avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.