A simple PHP-based application to help you build and manage your vocabulary.
-
Clone the repository:
git clone git@github.com:Fabdoc27/Vocabulary-Builder.git cd Vocabulary-Builder
-
Configure the database:
Update
config.php
with your database credentials if necessary. -
Import the database:
Create a
vocabulary
database andusers
andwords
tables:CREATE DATABASE vocabulary; USE vocabulary; CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY KEY, email VARCHAR(100) NOT NULL UNIQUE, password VARCHAR(255) NOT NULL ); CREATE TABLE words ( id INT AUTO_INCREMENT PRIMARY KEY, user_id INT NOT NULL, word VARCHAR(100) NOT NULL, meaning TEXT NOT NULL, FOREIGN KEY (user_id) REFERENCES users(id) );
-
Run the project:
Start the PHP development server:
php -S localhost:8080
Open your browser and navigate to http://localhost:8080.