njugunamwangi / laravel-survey

A Laravel framework and React JS API web app built to help collect info as per the user's needs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About Project

Built with:

Functionality

  • Sign Up
  • Sign In
  • Surveys CRUD
  • Survey Questions CRUD

Application

  • Pagination
  • Dashboard Dashboard
  • Surveys Surveys
  • Create Survey Surveys
  • Update Survey Surveys
  • Answer Survey Surveys

Installation

  • Clone the repository
git clone https://github.com/njugunamwangi/laravel-survey.git
  • On the root of the directory, copy and paste .env.example onto .env and configure the database accordingly
  • Install composer dependancies bu running composer install
composer install
  • Install npm dependacies
npm install
  • Navigate to the react folder
cd react 
  • In the react folder, copy and paste .env.example onto .env
  • Install npm dependacies
npm install
  • Navigate back to the root directory of the folder then migrate the database
php artisan migrate
  • Generate laravel application key using (on the root directory)
php artisan key:generate
  • Run laravel application using (root directory)
php artisan serve
  • Run react application using (react directory)
npm run dev

Navigate to http://localhost:3000 for the react app. Enjoy

License

MIT

About

A Laravel framework and React JS API web app built to help collect info as per the user's needs


Languages

Language:PHP 50.4%Language:JavaScript 40.7%Language:Blade 8.8%Language:HTML 0.2%Language:CSS 0.0%