WordTrainerApp is a web application for learning foreign words.
-
Clone the repo:
git clone https://github.com/AskarSariev/WordTrainerApp.git
-
Create database:
name database = word_trainer_app_db; username = postgres; password = 12345;
-
Create table in database:
CREATE TABLE Words ( id INT PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, original VARCHAR(255) NOT NULL, translation VARCHAR(255) NOT NULL, status BOOLEAN NOT NUL DEFAULT FALSE );
-
Enter username, password
Users with username and password are keeping in the application memory
User "admin":
username: admin password: admin authorized: read, add, edit, delete words and trainer
User "user":
username: user password: user authorized: read words and trainer
-
Choose "Show all words" or "Trainer"
-
Show all words
-
Trainer