Дипломная работа java skillbox

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

serdyuksb1982/SkillboxDiplomaSE

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Читайте также:  background

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

This is my graduation project of the JAVA developer course from SkillBox

📄 Stack: Java version 17, Spring Boot version 2.5.7, maven, Hibernate, migratiom FlyWay Db, Swagger Api, Lombok,JSOUP, DB MySQL8O, Morphology Library, create schema -> «charset/Collation: utf8mb4».

Реализация поискового «движка».

SpringBoot application.
The search engine receives sites from the application.yaml. Using ForkJoinPool collects information about sites it to the MySQL database. RestControllers provides interface to search information

  • Sites in application.yaml indexing-settings: sites:
    • url: https://www.playback.ru name: PlayBack.Ru
    • url: https://www.lenta.ru name: Лента.ру
    • url: https://www.skillbox.ru name: Skillbox
    • url: http://redmine-reports.soctech.loc name: Soctech.loc

    Starts indexing of all sites in specified application.yaml.
    Returns an error if indexing is already running.

    Starts index/reindex webpage given in parameter.

    URL must be related to the domen names given in application.yml.

    Read this before starting

    • Spring Security identification InMemoryUserDetailsManager
      user name: user
      password: password
    • Create an empty database search_engine
    create database search_engine, migrate tables -> flyway; 
    server: port: 8080 spring: flyway: create-schemas: true locations: classpath:db/migration enabled: true baseline-on-migrate: true datasource: url: jdbc:mysql://localhost:3306/search_engine?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true username: root password: root jpa: hibernate: ddl-auto: update show-sql: true mvc: path match: matching-strategy: ant_path_matcher indexing-settings: sites: - url: https://www.skillbox.ru name: Skillbox #- url: https://www.lenta.ru #name: Лента.ру #- url: https://www.skillbox.ru #name: Skillbox #- url: https://www.playback.ru #name: PlayBack.Ru #- url: http://redmine-reports.soctech.loc #name: Soctech.loc userAgent: Mozilla/5.0 (Windows; U; WindowsNT 5.1; en-US; rv1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 referrer: http://www.google.com search: engine: db: url: $ username: $ password: $ *** ENV: DB_PASSWORD=root; DB_URL=jdbc:mysql://localhost:3306/search_engine?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true; DB_USER_NAME=root 

    Источник

    Saved searches

    Use saved searches to filter your results more quickly

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

    Skillbox Graduation Work: Simple Blog Engine

    License

    kershov/skillbox_java_blogapp

    This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

    Name already in use

    A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

    Sign In Required

    Please sign in to use Codespaces.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching Xcode

    If nothing happens, download Xcode and try again.

    Launching Visual Studio Code

    Your codespace will open once ready.

    There was a problem preparing your codespace, please try again.

    Latest commit

    Git stats

    Files

    Failed to load latest commit information.

    README.md

    Дипломная работа по курсу «Java-разработчик c нуля» от Skillbox

    В рамках дипломного проекта необходимо реализовать блоговый движок на базе Spring Boot.

    Требования к окружению и компонентам дипломного проекта:

    Ограничение
    Версия JDK 11
    Система контроля версий Git
    Версия Spring Boot 2.2.3
    База данных MariaDB 10.3.13
    Сборщик проекта Maven

    Задать необходимые значения переменным JDBC_DATABASE_* . в файле .env .

    Запустить приложение с нужными переменными окружения:

    $ set -a; . ./.env; java -jar target/BlogApp.jar; set +a

    Или в IntelliJ IDEA: Edit Configuration / EnvFile / Enable EnvFile / + .env .

    About

    Skillbox Graduation Work: Simple Blog Engine

    Источник

    Saved searches

    Use saved searches to filter your results more quickly

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

    Viktoria-Goriacheva/BlogEngineGoriacheva

    This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

    Name already in use

    A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

    Sign In Required

    Please sign in to use Codespaces.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching Xcode

    If nothing happens, download Xcode and try again.

    Launching Visual Studio Code

    Your codespace will open once ready.

    There was a problem preparing your codespace, please try again.

    Latest commit

    Git stats

    Files

    Failed to load latest commit information.

    README.md

    Дипломная работа по курсу «Java разработчик с нуля» от Skillbox. Итоговый проект курса «Блоговый движок».

    Это дипломный проект образовательной платформы Skillbox, курса Java разработчик с нуля.

    Данный проект представляет собой обычный блог, который базируется на технологии Spring Boot. (список исп. технологий см. тут)

    Весь фронтенд был предоставлен платформой Skillbox

    • Просматривать посты;
    • Регистрироваться;
      • Есть возможность восстановление пароля с отправкой письма юзеру;
      • Загрузка аватарки (она будет автоматически обрезана). Допустимые форматы фотографии jpg\jpeg и png. Также можно меняит имя, пароль и email.
      • Перед публикацией пост должен быть утвержден или отклонен модератором сайта;
      • Смотреть статистику можно как свою, так и общую по всему блогу.

      Медиафайл для демонстрации:

      Для того, чтобы запустить проект локально вам необходимы JDK 11, система контроля версий Git, сборщик проектов Maven. Клонировать проект можно через git bash:

      git init git clone https://github.com/Viktoria-Goriacheva/BlogEngineGoriacheva.git 

      После того, как проект скопировался в ваш локальный репозиторий, вам необходимо изменить несколько значений. Что изменить: image -> свойства подключения к базе данных, а также email и пароль; (проверка безопасности от Gmail); — информацию о базе данных можно прочитать вот тут image -> изменить адрес для отправки писем на почты юзеров. Так же изменить свойство jpa ddl-auto: update на create при первом запуске.

      В качестве БД используется PostgreSQL 11.

      В базе данных будут лежать глобальные настройки (таблица global settings), заполняемая при инициализации значениями по-умолчанию. Остальные 7 таблиц заполняются из приложения.

      • annotations -> собственные аннотации на валидацию имени, пароля и почты;
      • api ->
        • request -> классы-запросы от сервера, содержащие определенные переменные;
        • response -> классы-ответы для сервера в результате обработки их сервисами;
        • класс Enum для Spring Security;
        • entity-классы для таблиц базы данных;

        Редактирование профиля

        Image

        Поиск по датам

        Image

        Страница регистрации

        Image

        Страница поста с комментариями пользователей

        Image

        Редактирование поста

        Image

        • Maven;
        • Spring;
        • Spring boot;
        • Spring Security;
        • Spring Data;
        • Spring MVC
        • Hibernate;
        • Junit 5;
        • Mockito;
        • Jsoup;
        • Lombok;
        • Cage; (captcha)
        • Commons-io;
        • log4j2;
        • Assertj-core;

        По всем интересующим вас вопросам можно писать на почту:

        Или связаться со мной в телеграм:

        Diploma work on the course «Java Developer from scratch» from Skillbox. The final project of the course «Blog engine».

        This is a diploma project of the educational platform [Skillbox] (https://skillbox.ru/), course ** java developer from scratch **.

        This project is a regular blog, which is based on Spring Boot technology. (list of Spanish technologies, see [here] (#used technologies))

        The entire frontend was provided by the Skillbox platform

        • view posts;
        • register;
          • there is the opportunity to restore the password with sending a letter to the user;
          • loading the avatar (it will be automatically cut). Permissible formats of photos JPG \ JPEG and PNG. You can also change the name, password and email.
          • before publication, the post must be approved or rejected by the moderator of the site;
          • You can watch statistics, both your own and common throughout the blog.

          Media file for demonstration:

          In order to launch the project locally you need JDK 11, the Git version control system, Maven project collector. You can clone the project through Git Bash:

          git init git clone https://github.com/Viktoria-Goriacheva/BlogEngineGoriacheva.git 

          After the project has been copied to your local repository, you need to change several values. What to change: image -> properties of data connection, as well as email and password; (security check from Gmail); — information about the database can be read here here image -> change the address for sending users’ mail. Also change the property of JPA DDL-Auto: Update on Create at the first launch.

          As a database, PostgreSQL 11 is used.

          The database will be global settings (Global Settings table), filled with an initialization of defending. The remaining 7 tables are filled out of the application.

          Navigation on the project:

          • annotations -> own annotations for validation of the name, password and mail;
          • api -> -request -> classes from the server containing certain variables; -response -> classes -fasteners for the server as a result of processing them with services;
          • config -> setting up the project configuration;
          • controller -> layer of controllers;
          • dto -> data transfer objects; (DTO)
          • model ->
            • enum class for Spring Security;
            • entity classes for database tables;

            Profile editing

            Image

            Search by dates

            Image

            Registration page

            Image

            Page of the post with user comments

            Image

            Editing post

            Image

            • Maven;
            • Spring;
            • Spring boot;
            • Spring Security;
            • Spring Data;
            • Spring MVC
            • Hibernate;
            • Junit 5;
            • Mockito;
            • Jsoup;
            • Lombok;
            • Cage; (captcha)
            • Commons-io;
            • log4j2;
            • Assertj-core;

            On all questions you are interested, you can write to the mail:

            Or contact me in telegram:

            Источник

Оцените статью