Git Product home page Git Product logo

daily-test-task's Introduction

Daily test task

Запуск

  1. Перейти в папку backend и выполнить make init - соберёт проект, запустит, заполнит базы фейковыми данными и прогонит тест
  2. Перейти в папку frontend и выполнить make start - соберёт контейнер с фронтом и запустит его
  3. http://localhost:3000 - fronend http://localhost:8181 - backend
  4. Фронтенд использует host.docker.internal - для MacOs это поддерживается с версии docker 16, linux - 20

Пользователи

  1. Пользователь email: [email protected] password: user
  2. Admin email [email protected] password: admin
  3. Данные можно посмотреть в UserFixtures

Так как задание тестовое, то некоторые вещи сильно упрощены, ниже приведу список того, чтобы я улучшил в будущем

Backend

  1. Refresh token при авторизации
  2. Документация api с помощью ApiDocBundle
  3. Более детальные ошибки
  4. Ролевая модель для пользователей, избавиться от флагов
  5. Статусная модель для записей
  6. Более детальные тесты, выделение доменной модели

Frontend

  1. Испльзование контестов и хранилища данных, авторизация получилась довольно костыльной
  2. Добавить лоадары, некоторые запросы выполняются и в браузере этого не видно
  3. Зачёркивать выполненные задания

Функционал приложения

  1. Подтверждение регистрации
  2. Редактирование записей
  3. Разделение записей по времени и более удобная навигация
  4. Улучшение дизайна

daily-test-task's People

Contributors

shavelskiy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.