For every new vocabulary that I come to learn of once in a blue moon, it would be nice to store it in an online platform that allows me to focus on learning and reviewing the terms, and not just refer to the Notes App which stores everything else (it's kind of messy). So I decided to make this vocabulary tracker application designed for this sole purpose!
1. Set up your database in your SQL server.CREATE DATABASE vocab;
CREATE USER '[any user name]'@'localhost' IDENTIFIED BY '[any password]';
GRANT ALL ON vocab.* TO '[above user name]'@'localhost';
CREATE USER '[above user name]'@'127.0.0.1' IDENTIFIED BY '[above password]';
GRANT ALL ON vocab.* TO '[above user name]'@'127.0.0.1';
- Set up connection to database and create table. See connection.php on how to do this. For Windows, the port number is 3306.
USE entries;
CREATE TABLE IF NOT EXISTS entries (
entry_id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
word VARCHAR(255),
entry_date DATE,
meaning TEXT,
sentence TEXT
)
-
Clone the repository or download the files locally into your
xampp/htdocs
folder. -
Launch the application via localhost
Youtube Video: Vocab Tracker PHP application demo