Skip to content

framgia/sph-els-jpb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 

Repository files navigation

Logo

Description

A language e-learning system web application that users answers a group of words with a corresponding set of choices. Users can be able to interact with other users. Keeping track of their performance, as well as other people's performance. This project will also have its own administrator section, to manage categories as well as other user's information.

Contributors

Installation

Clone my-project with github

  git clone https://github.com/pong-sun/sph_els_pong.git

Environment Variables

To run this project locally, you will need to add the following environment variables to .env file in the back-end folder. If .env file does not exist just create a new one and add this ff:

APP_NAME=Laravel
APP_ENV=local
APP_KEY= // Generate a new key
APP_DEBUG=true
APP_URL=http://back-end.test

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=els_db
DB_USERNAME=root
DB_PASSWORD=

Make sure to create a Database based on the DB_DATABASE value.

Run Locally

After cloning the project

Go to the project directory

  cd sph_els_pong

Commands for running the Front End

From the Root folder install dependencies for the Front End

  cd front-end
  npm install

Start the Front End Server

  npm run start

Commands for running the Back End

From the Root folder install dependencies for the Back End

  cd back-end
  composer install

Optimize the back end

  php artisan config:clear
  php artisan cache:clear
  php artisan route:clear
  php artisan optimize
  composer dump-autoload

Seed the database with dummy data

  php artisan migrate:fresh --seed

Start the Back End Server

  php artisan serve

Appendix

Any additional information goes here