An Stackoverflow Clone using Laravel (server) & ReactJs (client)
git clone https://github.com/KhalidLam/AskMe-QA.git
cd muora-server
composer install
If you don't have Composer installed, instructions here.
npm install
If you don't have Node and NPM installed, instructions here.
cp .env.example .env
- 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. "")
php artisan key:generate
php artisan migrate
If you need sample data to work with, you can seed the database:
php artisan db:seed
php artisan storage:link
php artisan serve
cd react-qa-project
npm install
npm start