Skip to content

AskarSariev/WORD_TRAINER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordTrainerApp

WordTrainer


WordTrainerApp is a web application for learning foreign words.


Tools

Java 11 Spring Spring Spring Spring Thymeleaf Thymeleaf

Getting started

  1. Clone the repo:

    git clone https://github.com/AskarSariev/WordTrainerApp.git
    
  2. Create database:

    name database = word_trainer_app_db;
    username = postgres;
    password = 12345;
    
  3. 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
        
    );
    

Using

  1. Enter username, password

    LoginPage

    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
    
  2. Choose "Show all words" or "Trainer"

    MainPage
  3. Show all words

    AllWordsPage AddNewWord UpdateWordPage
  4. Trainer

    TrainerPage TrainerPageWithTranslation