Wojtazzzz / eng-words

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EngWords

Simple PHP console-app for learning english words

Features

  • Creating own words
  • Removing words from database
  • Quiz with random words

Requirements

Name Version
PHP ^8.1
MySQL ^8.0

Packages

Name Version
respect/validation 2.2
phpunit/phpunit 9.5
vlucas/phpdotenv 5.4

Run Locally

Clone the project

  git clone https://github.com/CubeStorm/eng-words

Go to the project directory

  cd eng-words

Install dependencies

  composer install

Create .env file

Copy .env.example content and paste to .env file

Use there your own database settings

Create database in mysql named "engwords'

Run app

  php index.php

Running Tests

Before you run tests you should create separate database named "test_engwords".

To run tests, run the following command

  php vendor/bin/phpunit tests

Todo

  • Divide words to own categories

About


Languages

Language:PHP 99.5%Language:Shell 0.5%